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.001705/0.001705, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001348/0.001348, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.399/1.399, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.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.002024/0.002024, allocations: 51.91 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2882, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004257/0.2924, allocations: 2.915 MB / 423.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2937, allocations: 0.6855 MB / 424.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2938, allocations: 11.94 kB / 424.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.294, allocations: 55.44 kB / 424.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.2942, allocations: 83.2 kB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.2945, allocations: 103.7 kB / 424.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.2949, allocations: 382.9 kB / 425.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.2952, allocations: 120.4 kB / 425.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.2954, allocations: 151.5 kB / 425.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.2956, allocations: 155.3 kB / 425.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.2957, allocations: 32 kB / 425.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.497e-05/0.2957, allocations: 36 kB / 425.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.2958, allocations: 75.75 kB / 425.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.296, allocations: 175.1 kB / 425.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.2964, allocations: 383.7 kB / 426.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2964, allocations: 4 kB / 426.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2964, allocations: 0 / 426.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2964, allocations: 0 / 426.2 MB, free: 9.738 MB / 334.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.001046/0.2974, allocations: 0.6312 MB / 426.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2975, allocations: 12.03 kB / 426.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.2976, allocations: 36.7 kB / 426.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.2979, allocations: 263.8 kB / 427.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.298, allocations: 25.03 kB / 427.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.298, allocations: 40.31 kB / 427.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.2986, allocations: 278.4 kB / 427.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2986, allocations: 4 kB / 427.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.2986, allocations: 16 kB / 427.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.2987, allocations: 8 kB / 427.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.2991, allocations: 214.4 kB / 427.7 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3008, allocations: 1.026 MB / 428.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3011, allocations: 150.5 kB / 428.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.3014, allocations: 120.8 kB / 429 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3014, allocations: 3.938 kB / 429 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.3015, allocations: 34.56 kB / 429 MB, free: 6.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.3015, allocations: 4 kB / 429.1 MB, free: 6.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006024/0.3021, allocations: 229.7 kB / 429.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3021, allocations: 51.41 kB / 429.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.3024, allocations: 215.2 kB / 429.5 MB, free: 6.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3024, allocations: 25.7 kB / 429.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.3025, allocations: 204.2 kB / 429.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.3026, allocations: 75.38 kB / 429.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.3027, allocations: 53.94 kB / 429.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3028, allocations: 326.8 kB / 430.2 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.303, allocations: 72.52 kB / 430.3 MB, free: 5.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.3032, allocations: 147.4 kB / 430.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.3036, allocations: 233.1 kB / 430.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3036, allocations: 0 / 430.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005105/0.3042, allocations: 269.1 kB / 430.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3042, allocations: 8.25 kB / 430.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3042, allocations: 8 kB / 430.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3042, allocations: 4 kB / 430.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.3045, allocations: 71.89 kB / 431 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3045, allocations: 4 kB / 431 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.3047, allocations: 35.77 kB / 431 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.3047, allocations: 8 kB / 431 MB, free: 4.578 MB / 334.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.0001386/0.3048, allocations: 141.8 kB / 431.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.3049, allocations: 27.84 kB / 431.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.3053, allocations: 195.3 kB / 431.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3053, allocations: 7.938 kB / 431.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3053, allocations: 0 / 431.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3053, allocations: 3.984 kB / 431.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008845/0.3062, allocations: 0.6079 MB / 432 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3062, allocations: 0 / 432 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.3065, allocations: 59.91 kB / 432.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3065, allocations: 0 / 432.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.3065, allocations: 11.98 kB / 432.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3065, allocations: 3.984 kB / 432.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3066, allocations: 0 / 432.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.3072, allocations: 380 kB / 432.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.3073, allocations: 105 kB / 432.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.3073, allocations: 4 kB / 432.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.3075, allocations: 19.98 kB / 432.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.3075, allocations: 19.92 kB / 432.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3076, allocations: 4 kB / 432.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.3077, allocations: 160.6 kB / 432.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3077, allocations: 0 / 432.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.3081, allocations: 75.78 kB / 432.8 MB, free: 2.656 MB / 334.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.0001547/0.3082, allocations: 107.2 kB / 433 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.3087, allocations: 169.6 kB / 433.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3087, allocations: 0 / 433.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.3088, allocations: 79.89 kB / 433.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3092, allocations: 33.41 kB / 433.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3106, allocations: 0.8624 MB / 434.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.311, allocations: 0.7673 MB / 434.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.895e-05/0.3111, allocations: 21.94 kB / 434.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.3111, allocations: 19.44 kB / 434.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3111, allocations: 3.938 kB / 434.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of Templates: time 0.005868/0.317, allocations: 2.168 MB / 437.1 MB, free: 14.39 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.562668706290424]