Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008279, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007685/0.0007685, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8937/0.8937, allocations: 173.3 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.766e-06/1.001e-05, allocations: 5.516 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003185/0.003195, allocations: 3.383 MB / 321.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.004735, allocations: 1.328 MB / 323.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.004866, allocations: 12 kB / 323.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009035/0.005769, allocations: 0.7464 MB / 323.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.006434, allocations: 0.5205 MB / 324.4 MB, free: 360 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.006895, allocations: 401.8 kB / 324.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.007237, allocations: 481.7 kB / 325.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.007708, allocations: 418.2 kB / 325.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.007989, allocations: 323.1 kB / 326 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.008167, allocations: 207.4 kB / 326.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.008208, allocations: 44 kB / 326.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.008473, allocations: 199.7 kB / 326.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.008527, allocations: 115.6 kB / 326.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.008623, allocations: 159.6 kB / 326.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.009132, allocations: 0.7126 MB / 327.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.009133, allocations: 0 / 327.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.009134, allocations: 0 / 327.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.00914, allocations: 0 / 327.4 MB, free: 13.33 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001438/0.01058, allocations: 0.8485 MB / 328.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.01061, allocations: 12.92 kB / 328.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.01072, allocations: 99.97 kB / 328.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.01237, allocations: 0.4884 MB / 328.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.01264, allocations: 253 kB / 329.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.01267, allocations: 37.69 kB / 329.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.01273, allocations: 60.33 kB / 329.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.01332, allocations: 0.5554 MB / 329.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01334, allocations: 192 / 329.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.01337, allocations: 23.94 kB / 329.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.01338, allocations: 12 kB / 329.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.01401, allocations: 0.5712 MB / 330.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.01575, allocations: 1.584 MB / 332 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.01659, allocations: 0.5385 MB / 332.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.01687, allocations: 230.2 kB / 332.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.01691, allocations: 20.48 kB / 332.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.01693, allocations: 35.06 kB / 332.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.472e-06/0.01693, allocations: 0 / 332.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001026/0.01796, allocations: 0.6654 MB / 333.4 MB, free: 7.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.01799, allocations: 59.91 kB / 333.5 MB, free: 7.074 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.01813, allocations: 194.2 kB / 333.7 MB, free: 6.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.01816, allocations: 41.7 kB / 333.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.01825, allocations: 217 kB / 333.9 MB, free: 6.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.01833, allocations: 170.5 kB / 334.1 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.01842, allocations: 90.12 kB / 334.2 MB, free: 6.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.01851, allocations: 334.8 kB / 334.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.0187, allocations: 148.9 kB / 334.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.01891, allocations: 241.9 kB / 334.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.0196, allocations: 421.9 kB / 335.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.0196, allocations: 3.938 kB / 335.3 MB, free: 5.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006061/0.02021, allocations: 0.5292 MB / 335.9 MB, free: 4.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.02023, allocations: 6.656 kB / 335.9 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.02023, allocations: 7.984 kB / 335.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.02046, allocations: 85.08 kB / 336 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.02066, allocations: 99.83 kB / 336 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.02176, allocations: 1.651 MB / 337.7 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.02189, allocations: 55.55 kB / 337.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.02191, allocations: 20 kB / 337.8 MB, free: 2.578 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.02204, allocations: 165.7 kB / 337.9 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.02208, allocations: 23.86 kB / 338 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.02271, allocations: 0.537 MB / 338.5 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.02271, allocations: 4 kB / 338.5 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.02272, allocations: 4 kB / 338.5 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.02272, allocations: 7.984 kB / 338.5 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.02373, allocations: 1.051 MB / 339.6 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.02373, allocations: 4 kB / 339.6 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.0239, allocations: 79.89 kB / 339.6 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.02406, allocations: 84.75 kB / 339.7 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.02407, allocations: 12 kB / 339.7 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000988/0.02506, allocations: 1.659 MB / 341.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02506, allocations: 0 / 341.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.02608, allocations: 0.7973 MB / 342.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.0261, allocations: 39.72 kB / 342.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.02613, allocations: 4 kB / 342.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.02624, allocations: 32.11 kB / 342.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.0263, allocations: 36.42 kB / 342.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.02631, allocations: 23.88 kB / 342.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.957e-05/0.02638, allocations: 136.2 kB / 342.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02638, allocations: 0 / 342.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.02668, allocations: 151.6 kB / 342.6 MB, free: 13.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/0.02771, allocations: 1.373 MB / 344 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000603/0.02832, allocations: 0.5397 MB / 344.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02832, allocations: 0.5625 kB / 344.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.02862, allocations: 357.4 kB / 344.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.02886, allocations: 31.98 kB / 344.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.03164, allocations: 3.41 MB / 348.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.03176, allocations: 212.7 kB / 348.5 MB, free: 7.363 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.03188, allocations: 50.89 kB / 348.6 MB, free: 7.316 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.03201, allocations: 136.5 kB / 348.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03201, allocations: 0 / 348.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.05326, allocations: 8.406 MB / 357.1 MB, free: 14.94 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.341, allocations: 3.938 kB / 357.1 MB, free: 14.93 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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: 8.980665414594114]