Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001427/0.001427, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.22 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08437, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1587/0.2431, allocations: 16.5 MB / 374.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007045/0.2502, allocations: 4.152 MB / 378.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.2527, allocations: 136.7 kB / 378.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01377/0.2666, allocations: 7.44 MB / 385.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.2722, allocations: 1.309 MB / 387.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.2754, allocations: 1.25 MB / 388.4 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008408/0.2839, allocations: 8.171 MB / 396.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03361/0.3175, allocations: 22.62 MB / 419.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00705/0.3246, allocations: 4.801 MB / 424 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008422/0.3331, allocations: 5.334 MB / 429.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003504/0.3366, allocations: 1.383 MB / 430.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005454/0.3421, allocations: 1.66 MB / 432.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003772/0.3459, allocations: 2.58 MB / 434.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008013/0.3539, allocations: 5.214 MB / 440.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.3719, allocations: 18.21 MB / 458.3 MB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3719, allocations: 0 / 458.3 MB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3719, allocations: 0 / 458.3 MB, free: 7.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004687/0.3724, allocations: 0 / 458.3 MB, free: 7.074 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02975/0.4022, allocations: 10.44 MB / 468.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4022, allocations: 11.97 kB / 468.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004172/0.4064, allocations: 1.298 MB / 470.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/0.4253, allocations: 3.744 MB / 473.8 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009509/0.4348, allocations: 5.179 MB / 479 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006255/0.4355, allocations: 0.6785 MB / 479.7 MB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002688/0.4382, allocations: 0.8944 MB / 480.6 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02764/0.4659, allocations: 12.72 MB / 493.3 MB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003543/0.4662, allocations: 11.91 kB / 493.3 MB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00236/0.4686, allocations: 376 kB / 493.7 MB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003715/0.469, allocations: 399.1 kB / 494.1 MB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/0.4898, allocations: 11.41 MB / 0.4936 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2902/0.7801, allocations: 44.16 MB / 0.5368 GB, free: 114.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007722/0.7878, allocations: 10.49 MB / 0.547 GB, free: 106.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.7896, allocations: 1.682 MB / 0.5486 GB, free: 106.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.7899, allocations: 222.8 kB / 0.5488 GB, free: 106.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.7899, allocations: 58.89 kB / 0.5489 GB, free: 106.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.057e-06/0.7899, allocations: 0 / 0.5489 GB, free: 106.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006921/0.7968, allocations: 4.658 MB / 0.5535 GB, free: 106.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.7969, allocations: 82.75 kB / 0.5535 GB, free: 106.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00299/0.7999, allocations: 2.916 MB / 0.5564 GB, free: 105.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.8, allocations: 61.89 kB / 0.5564 GB, free: 105.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.8011, allocations: 3.84 MB / 0.5602 GB, free: 103.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.8014, allocations: 0.788 MB / 0.561 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008707/0.8023, allocations: 0.9512 MB / 0.5619 GB, free: 103 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.053e-05/0.8023, allocations: 303.1 kB / 0.5622 GB, free: 102.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.8042, allocations: 1.971 MB / 0.5641 GB, free: 102.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.8067, allocations: 4.154 MB / 0.5682 GB, free: 99.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004644/0.8113, allocations: 6.508 MB / 0.5745 GB, free: 94.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.8113, allocations: 23.56 kB / 0.5745 GB, free: 94.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.006454/0.8178, allocations: 6.505 MB / 0.5809 GB, free: 91.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.8178, allocations: 41.38 kB / 0.5809 GB, free: 91.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.405e-05/0.8179, allocations: 72.95 kB / 0.581 GB, free: 91.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006448/0.8185, allocations: 416.1 kB / 0.5814 GB, free: 91.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/0.8211, allocations: 1.057 MB / 0.5824 GB, free: 91.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/0.8244, allocations: 4.387 MB / 0.5867 GB, free: 88.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.8266, allocations: 0.619 MB / 0.5873 GB, free: 88.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.8269, allocations: 247.4 kB / 0.5876 GB, free: 88.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00307/0.8299, allocations: 3.375 MB / 0.5908 GB, free: 86.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/0.8303, allocations: 267.6 kB / 0.5911 GB, free: 86.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.8343, allocations: 3.588 MB / 0.5946 GB, free: 84.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002839/0.8371, allocations: 2.798 MB / 0.5973 GB, free: 82.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.8371, allocations: 7.531 kB / 0.5973 GB, free: 82.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.8372, allocations: 11.95 kB / 0.5974 GB, free: 82.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.8474, allocations: 9.937 MB / 0.6071 GB, free: 73.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.8474, allocations: 0 / 0.6071 GB, free: 73.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.8487, allocations: 411.4 kB / 0.6075 GB, free: 73.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/0.8492, allocations: 321.1 kB / 0.6078 GB, free: 73.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/0.8493, allocations: 51.98 kB / 0.6078 GB, free: 73.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/0.8525, allocations: 4.201 MB / 0.6119 GB, free: 68.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8525, allocations: 0 / 0.6119 GB, free: 68.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00471/0.8572, allocations: 5.119 MB / 0.6169 GB, free: 63.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006668/0.8579, allocations: 0.6102 MB / 0.6175 GB, free: 63.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.8581, allocations: 36 kB / 0.6175 GB, free: 62.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/0.8591, allocations: 135.8 kB / 0.6177 GB, free: 62.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.8593, allocations: 153.8 kB / 0.6178 GB, free: 62.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.611e-05/0.8594, allocations: 63.98 kB / 0.6179 GB, free: 62.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001663/0.8611, allocations: 1.963 MB / 0.6198 GB, free: 60.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8611, allocations: 0 / 0.6198 GB, free: 60.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003186/0.8643, allocations: 1.954 MB / 0.6217 GB, free: 58.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005103/0.8694, allocations: 5.778 MB / 0.6273 GB, free: 52.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008732/0.8781, allocations: 6.973 MB / 0.6342 GB, free: 45.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8782, allocations: 0 / 0.6342 GB, free: 45.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.8798, allocations: 1.735 MB / 0.6358 GB, free: 44.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.8821, allocations: 0.6821 MB / 0.6365 GB, free: 43.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03648/0.9186, allocations: 43.27 MB / 0.6788 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004673/0.9233, allocations: 5.641 MB / 0.6843 GB, free: 6.512 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003481/0.9268, allocations: 1.694 MB / 0.6859 GB, free: 4.812 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002706/0.9295, allocations: 2.733 MB / 0.6886 GB, free: 2.078 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.9295, allocations: 0 / 0.6886 GB, free: 2.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.309/4.238, allocations: 90.27 MB / 0.7768 GB, free: 107.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/21.06, allocations: 11.03 kB / 0.7768 GB, free: 107.4 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches