Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001777/0.001777, allocations: 115.5 kB / 18.46 MB, free: 4.688 MB / 14.72 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.002075/0.002075, allocations: 212.3 kB / 21.42 MB, free: 1.738 MB / 14.72 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 1.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 51.92 kB / 374.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09963, allocations: 53.34 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.00699/0.1066, allocations: 5.411 MB / 432.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.1097, allocations: 1.523 MB / 434.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.1101, allocations: 43.69 kB / 434.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.1106, allocations: 221.7 kB / 434.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005247/0.1112, allocations: 194 kB / 434.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.112, allocations: 415.4 kB / 435.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.1132, allocations: 1.122 MB / 436.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005314/0.1137, allocations: 336.3 kB / 436.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005317/0.1143, allocations: 418.2 kB / 437.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.1147, allocations: 433.5 kB / 437.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.1148, allocations: 84 kB / 437.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.115, allocations: 111.9 kB / 437.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.1152, allocations: 207.2 kB / 438 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.1157, allocations: 0.5009 MB / 438.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1169, allocations: 1.19 MB / 439.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1169, allocations: 0 / 439.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1169, allocations: 0 / 439.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1169, allocations: 3.938 kB / 439.7 MB, free: 8.023 MB / 366.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.001967/0.1189, allocations: 1.347 MB / 441 MB, free: 6.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1189, allocations: 8.031 kB / 441 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.1193, allocations: 151.1 kB / 441.2 MB, free: 6.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1204, allocations: 0.6621 MB / 441.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.1205, allocations: 77.94 kB / 441.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.1206, allocations: 99.98 kB / 442 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1223, allocations: 1.031 MB / 443.1 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.1223, allocations: 7.938 kB / 443.1 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.1224, allocations: 44 kB / 443.1 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.1224, allocations: 24 kB / 443.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.1236, allocations: 0.5578 MB / 443.7 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1862/0.3098, allocations: 5.494 MB / 449.2 MB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.3105, allocations: 217.4 kB / 449.4 MB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.3108, allocations: 148.6 kB / 449.5 MB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.3109, allocations: 90.84 kB / 449.6 MB, free: 20.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3109, allocations: 38.06 kB / 449.7 MB, free: 20.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.475e-06/0.3109, allocations: 0 / 449.7 MB, free: 20.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003587/0.3145, allocations: 1.737 MB / 451.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.3145, allocations: 84.33 kB / 451.5 MB, free: 19.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/0.3152, allocations: 0.6415 MB / 452.1 MB, free: 19.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3152, allocations: 30.8 kB / 452.2 MB, free: 19.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.3155, allocations: 0.6181 MB / 452.8 MB, free: 19.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/0.3156, allocations: 160.6 kB / 452.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.3158, allocations: 134.8 kB / 453.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.3158, allocations: 395.5 kB / 453.4 MB, free: 18.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.3161, allocations: 149 kB / 453.6 MB, free: 18.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.3165, allocations: 0.4951 MB / 454.1 MB, free: 18.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.3172, allocations: 0.6976 MB / 454.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3173, allocations: 3.969 kB / 454.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001069/0.3183, allocations: 0.7153 MB / 455.5 MB, free: 17.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3183, allocations: 9.219 kB / 455.5 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.3184, allocations: 11.81 kB / 455.5 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/0.3184, allocations: 17.02 kB / 455.5 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.319, allocations: 199.3 kB / 455.7 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.319, allocations: 22.98 kB / 455.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.3194, allocations: 33.92 kB / 455.8 MB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.3195, allocations: 40.11 kB / 455.8 MB, free: 17.25 MB / 366.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.0002643/0.3197, allocations: 230.8 kB / 456.1 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3198, allocations: 79.94 kB / 456.1 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.32, allocations: 73.86 kB / 456.2 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.32, allocations: 8.438 kB / 456.2 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.32, allocations: 1.344 kB / 456.2 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.32, allocations: 5.859 kB / 456.2 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.3219, allocations: 1.327 MB / 457.6 MB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3219, allocations: 1.344 kB / 457.6 MB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.3224, allocations: 105.3 kB / 457.7 MB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3224, allocations: 3.188 kB / 457.7 MB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.3224, allocations: 10.84 kB / 457.7 MB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3224, allocations: 7.312 kB / 457.7 MB, free: 16.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3224, allocations: 3.875 kB / 457.7 MB, free: 16.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008784/0.3233, allocations: 0.698 MB / 458.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3234, allocations: 147.4 kB / 458.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.3234, allocations: 8.078 kB / 458.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.3237, allocations: 25.59 kB / 458.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.3238, allocations: 34.81 kB / 458.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.3238, allocations: 16.64 kB / 458.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005418/0.3244, allocations: 430.6 kB / 459 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3244, allocations: 0.5625 kB / 459 MB, free: 15.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007416/0.3251, allocations: 137.8 kB / 459.2 MB, free: 15.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0001274/0.3252, allocations: 112.9 kB / 459.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007806/0.326, allocations: 412.6 kB / 459.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.326, allocations: 1.031 kB / 459.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.3263, allocations: 150.3 kB / 459.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.3268, allocations: 77.08 kB / 459.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.3293, allocations: 1.733 MB / 461.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.3298, allocations: 1.006 MB / 462.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.3299, allocations: 67.8 kB / 462.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3299, allocations: 4 kB / 462.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01581/0.3458, allocations: 9.418 MB / 472.1 MB, free: 10.6 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.6947915799974]