Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.0009458/0.0009458, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009923/0.0009923, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9507/0.9507, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] 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: 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.729e-05, allocations: 5.125 kB / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002664/0.002682, allocations: 2.894 MB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.003612, allocations: 0.6932 MB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.00373, allocations: 11.94 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.003893, allocations: 63.36 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.00403, allocations: 95.12 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.004249, allocations: 91.88 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.00453, allocations: 390.7 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.004728, allocations: 124.8 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.005006, allocations: 227.4 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.005126, allocations: 119.7 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.005161, allocations: 32 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.48e-05/0.005195, allocations: 32 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.005239, allocations: 83.67 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.005322, allocations: 115.7 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.005579, allocations: 243.1 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005581, allocations: 8 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005581, allocations: 0 / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005586, allocations: 0 / 278.1 MB, free: 12.2 MB / 266.7 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.0005928/0.006179, allocations: 0.6519 MB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.006217, allocations: 11.98 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.006292, allocations: 60.7 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.006521, allocations: 212.1 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.006537, allocations: 21.03 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.006581, allocations: 36.38 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.006901, allocations: 274.7 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.00691, allocations: 192 / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.006934, allocations: 16.38 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.006943, allocations: 15.88 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.007109, allocations: 111.9 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009241/0.008034, allocations: 0.8985 MB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.008203, allocations: 115 kB / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.008331, allocations: 87.64 kB / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.008349, allocations: 0 / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.008373, allocations: 37.39 kB / 280.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.505e-06/0.008376, allocations: 3.984 kB / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002578/0.008634, allocations: 161.7 kB / 280.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.008662, allocations: 55.41 kB / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.008802, allocations: 241.9 kB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.008816, allocations: 29.7 kB / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.008913, allocations: 250.9 kB / 281.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.00895, allocations: 75.38 kB / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.009006, allocations: 59.59 kB / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.009123, allocations: 0.5001 MB / 282 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.009175, allocations: 28.53 kB / 282 MB, free: 8.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.009276, allocations: 142.2 kB / 282.2 MB, free: 7.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.009447, allocations: 204.3 kB / 282.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.009451, allocations: 0 / 282.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002239/0.009675, allocations: 205.2 kB / 282.6 MB, free: 7.402 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.009689, allocations: 7.125 kB / 282.6 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.009695, allocations: 4.25 kB / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.00971, allocations: 11.94 kB / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.009882, allocations: 71.84 kB / 282.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.00989, allocations: 4 kB / 282.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.009961, allocations: 35.77 kB / 282.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.009974, allocations: 12 kB / 282.7 MB, free: 7.262 MB / 266.7 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 8.372e-05/0.01006, allocations: 168.5 kB / 282.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.01009, allocations: 27.86 kB / 282.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.01027, allocations: 147.4 kB / 283 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01027, allocations: 8 kB / 283.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.01028, allocations: 3.938 kB / 283.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01028, allocations: 0 / 283.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.01067, allocations: 0.5043 MB / 283.6 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01067, allocations: 0 / 283.6 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.01082, allocations: 55.97 kB / 283.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01082, allocations: 3.938 kB / 283.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01083, allocations: 8 kB / 283.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01083, allocations: 0 / 283.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01084, allocations: 8 kB / 283.6 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.0111, allocations: 347.5 kB / 284 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.01112, allocations: 19.84 kB / 284 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.01114, allocations: 7.938 kB / 284 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.01121, allocations: 15.98 kB / 284 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.01127, allocations: 15.94 kB / 284 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.01128, allocations: 11.98 kB / 284 MB, free: 5.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.08e-05/0.01136, allocations: 168.2 kB / 284.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01136, allocations: 7.938 kB / 284.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.01157, allocations: 79.78 kB / 284.3 MB, free: 5.578 MB / 266.7 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 8.523e-05/0.01166, allocations: 103.2 kB / 284.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.01186, allocations: 130.8 kB / 284.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01186, allocations: 0 / 284.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.01193, allocations: 63.59 kB / 284.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.01215, allocations: 36.48 kB / 284.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009968/0.01315, allocations: 0.7091 MB / 285.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.228e-05/0.01321, allocations: 87.97 kB / 285.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.01327, allocations: 25.94 kB / 285.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.01332, allocations: 24.5 kB / 285.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01332, allocations: 0 / 285.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of Templates: time 0.003752/0.01707, allocations: 1.917 MB / 287.4 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.655332108028233]