Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001908/0.001908, allocations: 116 kB / 20.89 MB, free: 1.117 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.002417/0.002417, allocations: 193.5 kB / 24.12 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 207.6 MB / 234.8 MB, free: 11.04 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 51.91 kB / 347 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2503, allocations: 49.12 MB / 396.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006835/0.2571, allocations: 5.373 MB / 401.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.2604, allocations: 1.489 MB / 402.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.2609, allocations: 24.59 kB / 403 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.2614, allocations: 219.5 kB / 403.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006221/0.262, allocations: 194.4 kB / 403.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009418/0.2629, allocations: 419.6 kB / 403.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.2642, allocations: 1.116 MB / 404.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.2647, allocations: 338.2 kB / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.2651, allocations: 407.8 kB / 405.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.2655, allocations: 429 kB / 406.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.2656, allocations: 83.31 kB / 406.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.2658, allocations: 101.7 kB / 406.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.266, allocations: 209.8 kB / 406.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.2663, allocations: 0.4966 MB / 406.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.2675, allocations: 1.178 MB / 408.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2675, allocations: 1.969 kB / 408.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2675, allocations: 0 / 408.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.2675, allocations: 0 / 408.1 MB, free: 2.023 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001731/0.2692, allocations: 1.347 MB / 409.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2693, allocations: 14.28 kB / 409.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.2694, allocations: 127.7 kB / 409.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.2704, allocations: 0.6564 MB / 410.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.2705, allocations: 76.44 kB / 410.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.2706, allocations: 101.2 kB / 410.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.2721, allocations: 1.03 MB / 411.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.2722, allocations: 6.812 kB / 411.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/0.2722, allocations: 44.5 kB / 411.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.2723, allocations: 30.69 kB / 411.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.2734, allocations: 0.5571 MB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005399/0.2788, allocations: 5.491 MB / 417.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.2794, allocations: 222.3 kB / 417.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.2797, allocations: 153.8 kB / 418 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.2799, allocations: 87.42 kB / 418 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.2799, allocations: 40.94 kB / 418.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.2799, allocations: 0 / 418.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004121/0.284, allocations: 1.737 MB / 419.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.2841, allocations: 80.36 kB / 419.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.2849, allocations: 0.643 MB / 420.5 MB, free: 8.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.2849, allocations: 39.95 kB / 420.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.2854, allocations: 0.6116 MB / 421.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.2855, allocations: 157.6 kB / 421.3 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.2857, allocations: 135.6 kB / 421.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.2859, allocations: 388 kB / 421.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.2862, allocations: 149.1 kB / 422 MB, free: 6.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.2869, allocations: 0.4923 MB / 422.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.288, allocations: 0.696 MB / 423.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.288, allocations: 3.625 kB / 423.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001276/0.2892, allocations: 0.7148 MB / 423.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2893, allocations: 10.22 kB / 423.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.2893, allocations: 15.98 kB / 423.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.2893, allocations: 20.12 kB / 424 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.29, allocations: 197.8 kB / 424.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-05/0.29, allocations: 31.61 kB / 424.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.2904, allocations: 30 kB / 424.2 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.2905, allocations: 43.52 kB / 424.2 MB, free: 5.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0003604/0.2908, allocations: 226.8 kB / 424.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.291, allocations: 81.77 kB / 424.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.2911, allocations: 75.02 kB / 424.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2911, allocations: 5.328 kB / 424.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2911, allocations: 0 / 424.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2913, allocations: 147.4 kB / 424.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.2913, allocations: 10.72 kB / 424.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.2916, allocations: 18.98 kB / 424.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.2917, allocations: 24.22 kB / 424.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001024/0.2927, allocations: 0.5212 MB / 425.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001173/0.2939, allocations: 0.781 MB / 426.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002838/0.2942, allocations: 125.9 kB / 426.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000519/0.2947, allocations: 426.1 kB / 426.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of Backend: time 6.31e-07/0.2947, allocations: 5.562 kB / 426.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.2958, allocations: 400.6 kB / 427.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of SimCode: time 0.003339/0.2992, allocations: 2.102 MB / 429.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of Templates: time 0.01397/0.3131, allocations: 5.966 MB / 435.1 MB, free: 11.63 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.813119625032414]