Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.001255/0.001255, allocations: 116.5 kB / 18.45 MB, free: 4.602 MB / 14.72 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.001244/0.001244, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 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 1.406/1.406, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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: 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.0.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.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 51.92 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09197, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004016/0.09598, allocations: 2.896 MB / 421.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.09707, allocations: 0.6894 MB / 422.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.0972, allocations: 4 kB / 422.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.09738, allocations: 63.38 kB / 422.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.09754, allocations: 87.19 kB / 422.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.09777, allocations: 87.88 kB / 422.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.09817, allocations: 390.8 kB / 423.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.09841, allocations: 120.5 kB / 423.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.09861, allocations: 151.4 kB / 423.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.09882, allocations: 159.3 kB / 423.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.09887, allocations: 32 kB / 423.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.605e-05/0.09893, allocations: 32 kB / 423.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.09901, allocations: 75.75 kB / 423.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.09917, allocations: 167.2 kB / 423.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.09959, allocations: 382.4 kB / 424.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.09959, allocations: 0 / 424.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0996, allocations: 4 kB / 424.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.0996, allocations: 4 kB / 424.3 MB, free: 6.754 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.0009689/0.1006, allocations: 0.6351 MB / 424.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.1006, allocations: 8.031 kB / 424.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.1007, allocations: 48.58 kB / 425 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.101, allocations: 263.9 kB / 425.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.101, allocations: 21.03 kB / 425.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/0.1011, allocations: 40.33 kB / 425.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.1016, allocations: 282.4 kB / 425.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1016, allocations: 0 / 425.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.1017, allocations: 12 kB / 425.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.1017, allocations: 8 kB / 425.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.1022, allocations: 214.5 kB / 425.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.1037, allocations: 1.026 MB / 426.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.104, allocations: 146.6 kB / 427 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.1043, allocations: 128.2 kB / 427.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1043, allocations: 7.938 kB / 427.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1044, allocations: 30.56 kB / 427.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.136e-06/0.1044, allocations: 3.984 kB / 427.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005729/0.1049, allocations: 227.6 kB / 427.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.105, allocations: 55.41 kB / 427.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1052, allocations: 219.1 kB / 427.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1052, allocations: 29.7 kB / 427.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1054, allocations: 196.4 kB / 427.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.1054, allocations: 79.36 kB / 427.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.1055, allocations: 49.94 kB / 428 MB, free: 2.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1057, allocations: 338.8 kB / 428.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.1058, allocations: 68.47 kB / 428.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1061, allocations: 146.5 kB / 428.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.1065, allocations: 229.2 kB / 428.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1065, allocations: 0 / 428.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005034/0.107, allocations: 269.1 kB / 429 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.107, allocations: 4.25 kB / 429 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.107, allocations: 11.98 kB / 429 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.107, allocations: 4 kB / 429 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.1073, allocations: 71.91 kB / 429.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1073, allocations: 4 kB / 429.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1075, allocations: 31.77 kB / 429.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.1075, allocations: 12 kB / 429.1 MB, free: 1.586 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.0001566/0.1076, allocations: 149.7 kB / 429.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.1077, allocations: 27.84 kB / 429.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.1081, allocations: 191.4 kB / 429.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.1081, allocations: 3.984 kB / 429.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1081, allocations: 7.938 kB / 429.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1081, allocations: 4 kB / 429.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008466/0.109, allocations: 0.6034 MB / 430.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.109, allocations: 0 / 430.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.1093, allocations: 59.89 kB / 430.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1093, allocations: 4 kB / 430.2 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1093, allocations: 4 kB / 430.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1093, allocations: 4 kB / 430.2 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1093, allocations: 0 / 430.2 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.1099, allocations: 380.1 kB / 430.5 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.11, allocations: 104.9 kB / 430.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.11, allocations: 8.062 kB / 430.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.1102, allocations: 19.92 kB / 430.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.1102, allocations: 15.98 kB / 430.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1103, allocations: 4 kB / 430.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1104, allocations: 156.7 kB / 430.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1104, allocations: 0 / 430.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.1107, allocations: 83.72 kB / 430.9 MB, free: 15.66 MB / 366.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.0001174/0.1109, allocations: 107.2 kB / 431 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004137/0.1113, allocations: 160.2 kB / 431.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1113, allocations: 0 / 431.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.1115, allocations: 79.83 kB / 431.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1118, allocations: 29.28 kB / 431.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.1131, allocations: 0.8801 MB / 432.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1135, allocations: 0.7712 MB / 432.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.1136, allocations: 23.44 kB / 433 MB, free: 13.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1136, allocations: 0 / 433 MB, free: 13.54 MB / 366.1 MB Notification: Performance of Templates: time 0.005062/0.1187, allocations: 2.99 MB / 436 MB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.76778181293048]