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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 214.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 59.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2687, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02091/0.2896, allocations: 16.6 MB / 447.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.3, allocations: 4.177 MB / 452 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.3039, allocations: 159.2 kB / 452.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01819/0.3221, allocations: 7.516 MB / 459.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.3282, allocations: 1.359 MB / 461 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003983/0.3322, allocations: 1.269 MB / 462.3 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.3438, allocations: 8.308 MB / 470.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03087/0.3747, allocations: 14.36 MB / 484.9 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008506/0.3832, allocations: 4.914 MB / 489.9 MB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009319/0.3925, allocations: 5.361 MB / 495.2 MB, free: 6.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003505/0.396, allocations: 1.383 MB / 496.6 MB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004965/0.401, allocations: 1.671 MB / 498.3 MB, free: 3.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00381/0.4048, allocations: 2.584 MB / 0.4891 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008445/0.4132, allocations: 5.218 MB / 0.4942 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02293/0.4362, allocations: 18.36 MB / 0.5121 GB, free: 8.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4362, allocations: 0 / 0.5121 GB, free: 8.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4362, allocations: 0 / 0.5121 GB, free: 8.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004467/0.4366, allocations: 0 / 0.5121 GB, free: 8.992 MB / 430.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.03054/0.4672, allocations: 10.55 MB / 0.5224 GB, free: 14.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.4672, allocations: 20.02 kB / 0.5225 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004065/0.4713, allocations: 1.294 MB / 0.5237 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/0.4902, allocations: 3.71 MB / 0.5273 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.5031, allocations: 5.429 MB / 0.5327 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006831/0.5038, allocations: 0.6785 MB / 0.5333 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/0.5068, allocations: 0.8867 MB / 0.5342 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4449/0.9517, allocations: 12.74 MB / 0.5466 GB, free: 84.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002049/0.9519, allocations: 6.891 kB / 0.5466 GB, free: 84.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001218/0.9531, allocations: 374.9 kB / 0.547 GB, free: 83.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002565/0.9534, allocations: 402.2 kB / 0.5474 GB, free: 83.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02023/0.9736, allocations: 11.43 MB / 0.5585 GB, free: 78.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05866/1.032, allocations: 42.37 MB / 0.5999 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007235/1.04, allocations: 4.211 MB / 0.604 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/1.041, allocations: 1.53 MB / 0.6055 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/1.042, allocations: 85.09 kB / 0.6056 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/1.042, allocations: 56.56 kB / 0.6056 GB, free: 30.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.278e-06/1.042, allocations: 0 / 0.6056 GB, free: 30.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007654/1.049, allocations: 4.599 MB / 0.6101 GB, free: 25.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.049, allocations: 77.34 kB / 0.6102 GB, free: 25.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004464/1.054, allocations: 2.932 MB / 0.6131 GB, free: 22.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/1.054, allocations: 61.7 kB / 0.6131 GB, free: 22.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/1.056, allocations: 3.978 MB / 0.617 GB, free: 18.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006046/1.056, allocations: 0.8303 MB / 0.6178 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/1.058, allocations: 0.9605 MB / 0.6188 GB, free: 17.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/1.058, allocations: 305.1 kB / 0.6191 GB, free: 16.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/1.06, allocations: 1.969 MB / 0.621 GB, free: 14.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/1.064, allocations: 4.169 MB / 0.6251 GB, free: 9.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006136/1.07, allocations: 6.521 MB / 0.6314 GB, free: 2.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.166e-05/1.07, allocations: 23.94 kB / 0.6314 GB, free: 1.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01107/1.081, allocations: 6.52 MB / 0.6378 GB, free: 11.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/1.081, allocations: 36 kB / 0.6378 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/1.081, allocations: 75.94 kB / 0.6379 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/1.082, allocations: 417.3 kB / 0.6383 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/1.086, allocations: 1.065 MB / 0.6394 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/1.092, allocations: 4.288 MB / 0.6435 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/1.096, allocations: 0.6325 MB / 0.6442 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007553/1.096, allocations: 252 kB / 0.6444 GB, free: 4.602 MB / 462.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.006395/1.103, allocations: 3.365 MB / 0.6477 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008012/1.103, allocations: 286.2 kB / 0.648 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007013/1.11, allocations: 3.576 MB / 0.6514 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004984/1.115, allocations: 2.815 MB / 0.6542 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.115, allocations: 4 kB / 0.6542 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/1.116, allocations: 11.95 kB / 0.6542 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/1.138, allocations: 9.904 MB / 0.6639 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.138, allocations: 0 / 0.6639 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.139, allocations: 419.4 kB / 0.6643 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008136/1.14, allocations: 320.6 kB / 0.6646 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002159/1.14, allocations: 47.98 kB / 0.6646 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005749/1.146, allocations: 4.097 MB / 0.6686 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.146, allocations: 4 kB / 0.6686 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009186/1.155, allocations: 5.146 MB / 0.6737 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.157, allocations: 0.5522 MB / 0.6742 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005927/1.157, allocations: 47.98 kB / 0.6743 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.159, allocations: 127.9 kB / 0.6744 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003564/1.159, allocations: 157.7 kB / 0.6745 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.159, allocations: 71.92 kB / 0.6746 GB, free: 5.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003915/1.163, allocations: 1.959 MB / 0.6765 GB, free: 3.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.163, allocations: 0 / 0.6765 GB, free: 3.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005767/1.169, allocations: 1.992 MB / 0.6785 GB, free: 1.445 MB / 494.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.009254/1.178, allocations: 5.796 MB / 0.6841 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008224/1.187, allocations: 4.444 MB / 0.6885 GB, free: 7.156 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.187, allocations: 0 / 0.6885 GB, free: 7.156 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002763/1.189, allocations: 1.625 MB / 0.69 GB, free: 5.52 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003819/1.193, allocations: 0.6792 MB / 0.6907 GB, free: 4.855 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07719/1.27, allocations: 40.29 MB / 0.7301 GB, free: 9.906 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009758/1.28, allocations: 5.637 MB / 0.7356 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004605/1.285, allocations: 1.694 MB / 0.7372 GB, free: 2.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2223/1.507, allocations: 2.737 MB / 0.7399 GB, free: 181.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.673e-06/1.507, allocations: 0.5625 kB / 0.7399 GB, free: 181.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/1.65, allocations: 94.94 MB / 0.8326 GB, free: 106.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.92/19.57, allocations: 11.55 kB / 0.8326 GB, free: 106.5 MB / 0.545 GB " [Timeout remaining time 640] (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 --stepSize=0.0001 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.459764452185482]