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.001058/0.001058, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002521, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001089/0.001089, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002417, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9803/0.9803, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1141/1.094, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.272e-06/1.272e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.172e-05, allocations: 6.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002717/0.002728, allocations: 2.919 MB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009853/0.003714, allocations: 0.724 MB / 248.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.003843, allocations: 11.94 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.003957, allocations: 59.42 kB / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.004094, allocations: 99.06 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.00425, allocations: 91.75 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.004525, allocations: 394.8 kB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.004695, allocations: 115.4 kB / 248.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.004963, allocations: 255.5 kB / 249.2 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.005079, allocations: 111.7 kB / 249.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.00511, allocations: 36 kB / 249.3 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.084e-05/0.005141, allocations: 32 kB / 249.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.005179, allocations: 55.81 kB / 249.4 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.005256, allocations: 99.81 kB / 249.5 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.005474, allocations: 235 kB / 249.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588e-05/0.00549, allocations: 0 / 249.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005491, allocations: 0 / 249.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.005506, allocations: 0 / 249.7 MB, free: 9.059 MB / 250.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.0006197/0.006126, allocations: 0.5934 MB / 250.3 MB, free: 8.441 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.006153, allocations: 8.031 kB / 250.4 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.00621, allocations: 52.91 kB / 250.4 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.006393, allocations: 173.2 kB / 250.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.006411, allocations: 25.03 kB / 250.6 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.006446, allocations: 36.38 kB / 250.6 MB, free: 8.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.006686, allocations: 262.7 kB / 250.9 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.006696, allocations: 192 / 250.9 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.006714, allocations: 12.38 kB / 250.9 MB, free: 7.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.006726, allocations: 15.92 kB / 250.9 MB, free: 7.824 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.006831, allocations: 76.48 kB / 251 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/0.007593, allocations: 0.7124 MB / 251.7 MB, free: 6.996 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.00772, allocations: 94.47 kB / 251.8 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.926e-05/0.007819, allocations: 75.56 kB / 251.9 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.007834, allocations: 4.344 kB / 251.9 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.007855, allocations: 38.56 kB / 251.9 MB, free: 6.77 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.007856, allocations: 0 / 251.9 MB, free: 6.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001598/0.008016, allocations: 125.4 kB / 252 MB, free: 6.641 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.008042, allocations: 59.39 kB / 252.1 MB, free: 6.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.008141, allocations: 194.2 kB / 252.3 MB, free: 6.367 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.008152, allocations: 25.7 kB / 252.3 MB, free: 6.336 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.318e-05/0.008225, allocations: 192.2 kB / 252.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.008263, allocations: 71.38 kB / 252.6 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.008309, allocations: 49.97 kB / 252.6 MB, free: 6.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.00839, allocations: 334.8 kB / 252.9 MB, free: 5.684 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.008419, allocations: 28.55 kB / 253 MB, free: 5.656 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.008482, allocations: 96.52 kB / 253.1 MB, free: 5.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.008598, allocations: 157.1 kB / 253.2 MB, free: 5.344 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0086, allocations: 0 / 253.2 MB, free: 5.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000151/0.008751, allocations: 161.3 kB / 253.4 MB, free: 5.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.008763, allocations: 7.594 kB / 253.4 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.008769, allocations: 4 kB / 253.4 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.00878, allocations: 4 kB / 253.4 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.009016, allocations: 87.83 kB / 253.5 MB, free: 5.082 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.009022, allocations: 8.234 kB / 253.5 MB, free: 5.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.009085, allocations: 31.84 kB / 253.5 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.009097, allocations: 8 kB / 253.5 MB, free: 5.035 MB / 250.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 7.474e-05/0.009171, allocations: 121.7 kB / 253.6 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.009196, allocations: 19.98 kB / 253.7 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.009321, allocations: 123.3 kB / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.009323, allocations: 0 / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.009325, allocations: 0 / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.00933, allocations: 3.984 kB / 253.8 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.009617, allocations: 352.1 kB / 254.1 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.009619, allocations: 4.062 kB / 254.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.009801, allocations: 71.89 kB / 254.2 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.009818, allocations: 15.89 kB / 254.2 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.009822, allocations: 7.938 kB / 254.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.009831, allocations: 3.984 kB / 254.2 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.009834, allocations: 4 kB / 254.2 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.009836, allocations: 3.984 kB / 254.2 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.01002, allocations: 264 kB / 254.5 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.01003, allocations: 8 kB / 254.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.0101, allocations: 15.98 kB / 254.5 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.01014, allocations: 23.84 kB / 254.5 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.01015, allocations: 4 kB / 254.5 MB, free: 3.945 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.01019, allocations: 48.81 kB / 254.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01019, allocations: 0 / 254.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.01036, allocations: 71.84 kB / 254.7 MB, free: 3.824 MB / 250.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.905e-05/0.01045, allocations: 88.36 kB / 254.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.01058, allocations: 111.6 kB / 254.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.01059, allocations: 4 kB / 254.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.01064, allocations: 56.72 kB / 254.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.0108, allocations: 44.05 kB / 255 MB, free: 3.512 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.01297, allocations: 0.6537 MB / 255.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.543e-05/0.01303, allocations: 96.3 kB / 255.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.709e-05/0.01308, allocations: 17.95 kB / 255.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.01317, allocations: 87.36 kB / 255.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01317, allocations: 0 / 255.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of Templates: time 0.003893/0.01707, allocations: 2.235 MB / 258 MB, free: 428 kB / 250.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 -ignoreHideResult -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.6640379279851913]