Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001652/0.001652, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001503/0.001503, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2356, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006352/0.242, allocations: 4.558 MB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00338/0.2453, allocations: 1.721 MB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.2456, allocations: 16 kB / 438.6 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.2484, allocations: 1.096 MB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.2499, allocations: 0.6133 MB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.2512, allocations: 0.572 MB / 440.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009441/0.2522, allocations: 0.7583 MB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008121/0.253, allocations: 0.5276 MB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004527/0.2534, allocations: 346.6 kB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.2539, allocations: 430.3 kB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.254, allocations: 60 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.2546, allocations: 247.8 kB / 443.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2547, allocations: 167.4 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.255, allocations: 310.5 kB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.2563, allocations: 1.042 MB / 444.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2563, allocations: 0 / 444.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2563, allocations: 0 / 444.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.2563, allocations: 0 / 444.8 MB, free: 10.26 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003977/0.2603, allocations: 1.32 MB / 446.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2603, allocations: 8.031 kB / 446.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006114/0.2664, allocations: 0.7887 MB / 446.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007962/0.2672, allocations: 354.7 kB / 447.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.2673, allocations: 58.38 kB / 447.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.2674, allocations: 80.12 kB / 447.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.269, allocations: 0.8228 MB / 448.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.269, allocations: 7.953 kB / 448.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.2691, allocations: 32 kB / 448.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.2691, allocations: 23.94 kB / 448.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.2708, allocations: 0.894 MB / 449.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.2749, allocations: 2.202 MB / 451.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.2768, allocations: 0.771 MB / 452.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.2773, allocations: 287.2 kB / 452.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.2774, allocations: 28.62 kB / 452.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.2774, allocations: 43.22 kB / 452.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 4.909e-06/0.2774, allocations: 4 kB / 452.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00369/0.2811, allocations: 1.251 MB / 453.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.2812, allocations: 60.06 kB / 453.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.2815, allocations: 253 kB / 454 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.2815, allocations: 37.69 kB / 454.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.2817, allocations: 304.6 kB / 454.4 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.2819, allocations: 265.7 kB / 454.6 MB, free: 188 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.2822, allocations: 130.6 kB / 454.7 MB, free: 52 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2823, allocations: 350.7 kB / 455.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.2828, allocations: 233.9 kB / 455.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005727/0.2834, allocations: 366.5 kB / 455.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.2845, allocations: 0.6259 MB / 456.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.2845, allocations: 4 kB / 456.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001871/0.2864, allocations: 0.857 MB / 457.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2864, allocations: 4 kB / 457.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2864, allocations: 7.938 kB / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008684/0.2873, allocations: 208.7 kB / 457.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.2879, allocations: 131.8 kB / 457.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.2914, allocations: 2.542 MB / 460.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.2919, allocations: 75.55 kB / 460.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.292, allocations: 35.92 kB / 460.2 MB, free: 10.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.2923, allocations: 205.5 kB / 460.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.2924, allocations: 39.77 kB / 460.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.2945, allocations: 0.8819 MB / 461.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.2945, allocations: 8 kB / 461.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2945, allocations: 4 kB / 461.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2945, allocations: 7.922 kB / 461.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.2973, allocations: 1.481 MB / 462.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2973, allocations: 0 / 462.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005511/0.2979, allocations: 115.8 kB / 462.9 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007692/0.2987, allocations: 200.7 kB / 463.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.2987, allocations: 15.98 kB / 463.1 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/0.3021, allocations: 2.535 MB / 465.6 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3021, allocations: 0 / 465.6 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.3045, allocations: 1.257 MB / 466.9 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3046, allocations: 59.55 kB / 467 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.3047, allocations: 16 kB / 467 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.3051, allocations: 23.98 kB / 467 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.3052, allocations: 60.55 kB / 467.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.3052, allocations: 24.05 kB / 467.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3054, allocations: 180.4 kB / 467.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3054, allocations: 0 / 467.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00082/0.3063, allocations: 243.5 kB / 467.5 MB, free: 2.918 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/0.3065, allocations: 143.1 kB / 467.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.3082, allocations: 0.8124 MB / 468.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3082, allocations: 0 / 468.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009068/0.3092, allocations: 0.5183 MB / 469 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.3096, allocations: 52.44 kB / 469 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3118, allocations: 1.208 MB / 470.2 MB, free: 124 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3121, allocations: 290.7 kB / 470.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.3123, allocations: 59.41 kB / 470.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3123, allocations: 0 / 470.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of Templates: time 0.01499/0.3273, allocations: 10.33 MB / 480.9 MB, free: 5.422 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.8658681719971355]