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.0009443/0.0009443, allocations: 81.88 kB / 21.42 MB, free: 3.07 MB / 18.57 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.0009502/0.0009502, allocations: 168.9 kB / 24.82 MB, free: 8.871 MB / 18.57 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 0.9173/0.9173, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.46e-05, allocations: 2.312 kB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003324/0.003339, allocations: 2.853 MB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009839/0.004323, allocations: 0.6971 MB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.004461, allocations: 7.938 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.00463, allocations: 63.38 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.004775, allocations: 87.12 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.004988, allocations: 91.88 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005503/0.005538, allocations: 394.7 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.005749, allocations: 116.8 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.00606, allocations: 231.4 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.0062, allocations: 119.7 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.006241, allocations: 32 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.214e-05/0.006283, allocations: 32 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.006332, allocations: 75.73 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.006427, allocations: 115.7 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.006681, allocations: 263 kB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.006683, allocations: 4 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006683, allocations: 0 / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.006687, allocations: 0 / 278.6 MB, free: 12.07 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.0006465/0.007334, allocations: 0.648 MB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.007367, allocations: 8.031 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.007443, allocations: 68.69 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.007645, allocations: 200.1 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.007664, allocations: 25.03 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.007708, allocations: 32.38 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.007994, allocations: 250.7 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.008004, allocations: 4.188 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.008025, allocations: 12.38 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.008036, allocations: 11.94 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.008168, allocations: 92.5 kB / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009673/0.009136, allocations: 0.8639 MB / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.009287, allocations: 107 kB / 280.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.009398, allocations: 79.62 kB / 280.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.009413, allocations: 7.938 kB / 281 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.009436, allocations: 41.39 kB / 281 MB, free: 9.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.009437, allocations: 0 / 281 MB, free: 9.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000227/0.009664, allocations: 145 kB / 281.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.009689, allocations: 59.34 kB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.009823, allocations: 242.2 kB / 281.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.009836, allocations: 29.7 kB / 281.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.009939, allocations: 255 kB / 281.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.009983, allocations: 71.38 kB / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.01005, allocations: 55.58 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.01018, allocations: 0.504 MB / 282.3 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.01022, allocations: 28.53 kB / 282.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.01032, allocations: 134.4 kB / 282.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.01049, allocations: 192.2 kB / 282.7 MB, free: 7.629 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01049, allocations: 0 / 282.7 MB, free: 7.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000233/0.01073, allocations: 185.2 kB / 282.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01074, allocations: 7.984 kB / 282.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01074, allocations: 4.25 kB / 282.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01076, allocations: 8 kB / 282.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.01095, allocations: 71.84 kB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01095, allocations: 7.938 kB / 283 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.01105, allocations: 31.78 kB / 283 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.01106, allocations: 7.984 kB / 283 MB, free: 7.305 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.821e-05/0.01115, allocations: 172.5 kB / 283.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.01119, allocations: 31.86 kB / 283.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.01136, allocations: 138.3 kB / 283.3 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01136, allocations: 11.98 kB / 283.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01137, allocations: 0 / 283.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01137, allocations: 7.969 kB / 283.4 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.0118, allocations: 461.1 kB / 283.8 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.0118, allocations: 0 / 283.8 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.01198, allocations: 59.91 kB / 283.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.01198, allocations: 0 / 283.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01199, allocations: 8 kB / 283.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.012, allocations: 3.938 kB / 283.9 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.012, allocations: 4.062 kB / 283.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.01225, allocations: 327.5 kB / 284.2 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.01227, allocations: 23.84 kB / 284.2 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.01229, allocations: 4 kB / 284.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.0124, allocations: 19.92 kB / 284.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.01244, allocations: 23.86 kB / 284.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01245, allocations: 4.062 kB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.01252, allocations: 172.4 kB / 284.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01252, allocations: 0 / 284.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002924/0.01282, allocations: 79.78 kB / 284.5 MB, free: 5.699 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 0.0003118/0.01313, allocations: 99.25 kB / 284.6 MB, free: 5.594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.01329, allocations: 115.4 kB / 284.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01329, allocations: 0 / 284.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.01335, allocations: 62.45 kB / 284.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.01362, allocations: 36.55 kB / 284.8 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.01466, allocations: 0.7095 MB / 285.5 MB, free: 4.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.876e-05/0.01471, allocations: 87.97 kB / 285.6 MB, free: 4.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.844e-05/0.01478, allocations: 25.94 kB / 285.6 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.01489, allocations: 110.2 kB / 285.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01489, allocations: 0 / 285.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of Templates: time 0.004278/0.01917, allocations: 1.988 MB / 287.7 MB, free: 2.441 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.689426770899445]