Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 168.5 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.2 MB / 204.9 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.48 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09223/0.09378, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004309/0.09809, allocations: 2.694 MB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.09949, allocations: 0.6894 MB / 382.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.09969, allocations: 11.94 kB / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.0999, allocations: 51.44 kB / 382.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1001, allocations: 95.17 kB / 382.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1004, allocations: 87.83 kB / 382.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.1009, allocations: 382.9 kB / 382.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.1012, allocations: 124.8 kB / 383 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.1015, allocations: 155.5 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.1017, allocations: 147.2 kB / 383.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.1018, allocations: 32 kB / 383.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.1018, allocations: 32 kB / 383.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.1019, allocations: 75.77 kB / 383.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.1021, allocations: 139.4 kB / 383.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.1025, allocations: 386.4 kB / 384 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1025, allocations: 0 / 384 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1025, allocations: 4 kB / 384 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1025, allocations: 0 / 384 MB, free: 10.56 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00106/0.1036, allocations: 0.5482 MB / 384.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1036, allocations: 12.03 kB / 384.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.1037, allocations: 40.7 kB / 384.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.1041, allocations: 210 kB / 384.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.1041, allocations: 21.03 kB / 384.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.1042, allocations: 36.38 kB / 384.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.1048, allocations: 341.7 kB / 385.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1048, allocations: 0 / 385.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.1048, allocations: 8 kB / 385.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1048, allocations: 8 kB / 385.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004947/0.1053, allocations: 218.5 kB / 385.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.1069, allocations: 0.8564 MB / 386.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.1073, allocations: 150 kB / 386.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.1076, allocations: 120.8 kB / 386.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1076, allocations: 0 / 386.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.1076, allocations: 42.5 kB / 386.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.072e-06/0.1076, allocations: 0 / 386.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006192/0.1083, allocations: 236.2 kB / 386.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1083, allocations: 51.41 kB / 386.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.1085, allocations: 191.8 kB / 387 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.1085, allocations: 33.64 kB / 387.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1087, allocations: 200.2 kB / 387.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.923e-05/0.1088, allocations: 79.36 kB / 387.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.413e-05/0.1089, allocations: 49.98 kB / 387.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.109, allocations: 330.8 kB / 387.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1092, allocations: 68.52 kB / 387.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.1094, allocations: 155.2 kB / 387.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.1099, allocations: 217.3 kB / 388.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1099, allocations: 0 / 388.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005594/0.1104, allocations: 269.1 kB / 388.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1104, allocations: 14.38 kB / 388.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1104, allocations: 4.25 kB / 388.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1105, allocations: 8 kB / 388.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.1108, allocations: 75.89 kB / 388.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1108, allocations: 4 kB / 388.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.111, allocations: 31.77 kB / 388.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.111, allocations: 12 kB / 388.6 MB, free: 5.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.1111, allocations: 141.8 kB / 388.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.1112, allocations: 19.84 kB / 388.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.1116, allocations: 203.2 kB / 388.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1116, allocations: 4 kB / 388.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1116, allocations: 0 / 388.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1116, allocations: 3.984 kB / 388.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.1125, allocations: 0.5034 MB / 389.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1125, allocations: 4 kB / 389.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.1128, allocations: 55.97 kB / 389.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.1128, allocations: 4 kB / 389.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1128, allocations: 4 kB / 389.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1128, allocations: 4 kB / 389.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1128, allocations: 3.984 kB / 389.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.1135, allocations: 378.2 kB / 389.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.1135, allocations: 19.84 kB / 389.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.1135, allocations: 8.188 kB / 389.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.1137, allocations: 15.98 kB / 389.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.1138, allocations: 19.97 kB / 389.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1138, allocations: 4 kB / 389.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1139, allocations: 144.5 kB / 390.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1139, allocations: 0 / 390.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.1143, allocations: 83.73 kB / 390.2 MB, free: 4.023 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001196/0.1144, allocations: 99.19 kB / 390.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004415/0.1149, allocations: 171.7 kB / 390.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1149, allocations: 0 / 390.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.115, allocations: 79.89 kB / 390.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1154, allocations: 23.2 kB / 390.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1167, allocations: 0.8444 MB / 391.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.1169, allocations: 163.1 kB / 391.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.456e-05/0.117, allocations: 17.95 kB / 391.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.1171, allocations: 28.42 kB / 391.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1171, allocations: 0 / 391.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of Templates: time 0.005443/0.1225, allocations: 1.805 MB / 393.4 MB, free: 0.7734 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.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: 4.4013574530836195]