Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001923/0.001923, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.00216/0.00216, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.518/1.518, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 373.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1125, allocations: 53.31 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005507/0.1181, allocations: 3.729 MB / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2479/0.366, allocations: 1.489 MB / 431.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.3663, allocations: 10.25 kB / 431.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.3682, allocations: 0.7585 MB / 432.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.3692, allocations: 395.7 kB / 433 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.3702, allocations: 0.558 MB / 433.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.3708, allocations: 458.7 kB / 434 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005316/0.3713, allocations: 297 kB / 434.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.3716, allocations: 214.3 kB / 434.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.3719, allocations: 270.8 kB / 434.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.372, allocations: 41.84 kB / 434.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005779/0.3726, allocations: 214 kB / 435.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.3727, allocations: 112.5 kB / 435.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.3729, allocations: 228 kB / 435.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009002/0.3738, allocations: 0.6861 MB / 436.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3738, allocations: 0 / 436.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3738, allocations: 1.031 kB / 436.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3738, allocations: 0 / 436.1 MB, free: 7.105 MB / 350.1 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.002089/0.3759, allocations: 0.9186 MB / 437 MB, free: 6.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.376, allocations: 13.67 kB / 437 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.3761, allocations: 99.2 kB / 437.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.3795, allocations: 471 kB / 437.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.3801, allocations: 309.7 kB / 437.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.3801, allocations: 40.19 kB / 437.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.3802, allocations: 55.64 kB / 438 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3812, allocations: 0.5195 MB / 438.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.3813, allocations: 5.188 kB / 438.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.3813, allocations: 24.62 kB / 438.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.3813, allocations: 14.39 kB / 438.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3824, allocations: 0.5704 MB / 439.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.3852, allocations: 1.96 MB / 441.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.3869, allocations: 2.137 MB / 443.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.3873, allocations: 184.5 kB / 443.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.3874, allocations: 178 kB / 443.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3874, allocations: 40.73 kB / 443.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.3874, allocations: 3.938 kB / 443.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001948/0.3893, allocations: 0.7896 MB / 444.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.3894, allocations: 56.31 kB / 444.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3895, allocations: 196.6 kB / 444.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.3896, allocations: 30.83 kB / 444.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.3897, allocations: 220.4 kB / 444.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.3898, allocations: 174.3 kB / 445 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3899, allocations: 81.2 kB / 445.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.3899, allocations: 340.9 kB / 445.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.3902, allocations: 149 kB / 445.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.3906, allocations: 230.8 kB / 445.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.3911, allocations: 404 kB / 446.2 MB, free: 412 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3911, allocations: 0 / 446.2 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009259/0.3921, allocations: 0.5368 MB / 446.8 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3921, allocations: 7 kB / 446.8 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3921, allocations: 1.312 kB / 446.8 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003335/0.3924, allocations: 94.67 kB / 446.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.3928, allocations: 91.39 kB / 446.9 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.3949, allocations: 2.035 MB / 449 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.3952, allocations: 45.95 kB / 449 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.3953, allocations: 23.61 kB / 449 MB, free: 14.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.3955, allocations: 165.8 kB / 449.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.3956, allocations: 28.28 kB / 449.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3967, allocations: 0.543 MB / 449.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3967, allocations: 5.812 kB / 449.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3967, allocations: 6.281 kB / 449.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3967, allocations: 3 kB / 449.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.3986, allocations: 1.135 MB / 450.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3986, allocations: 4.75 kB / 450.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.3989, allocations: 77.7 kB / 451 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.3992, allocations: 83.86 kB / 451.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.3992, allocations: 16.56 kB / 451.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.4013, allocations: 2.037 MB / 453.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4013, allocations: 1.953 kB / 453.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.4026, allocations: 0.7917 MB / 453.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.4027, allocations: 110.9 kB / 454 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.4028, allocations: 11.25 kB / 454.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.403, allocations: 19.89 kB / 454.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.4031, allocations: 37.61 kB / 454.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.4031, allocations: 15.08 kB / 454.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.4032, allocations: 135.6 kB / 454.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4032, allocations: 4.062 kB / 454.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006454/0.4039, allocations: 152.9 kB / 454.4 MB, free: 10.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001858/0.4057, allocations: 1.375 MB / 455.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.4069, allocations: 0.5469 MB / 456.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4069, allocations: 448 / 456.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.4074, allocations: 359.2 kB / 456.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4078, allocations: 36.64 kB / 456.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.4127, allocations: 3.406 MB / 460.1 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.4133, allocations: 0.8064 MB / 460.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.4134, allocations: 46.92 kB / 461 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.4137, allocations: 136.4 kB / 461.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4137, allocations: 0 / 461.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.4541, allocations: 7.759 MB / 468.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.95, allocations: 12.12 kB / 468.9 MB, free: 3.098 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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: 13.404132139869034]