Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 109 kB / 21.23 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 8.23 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 56.78 kB / 379 MB, free: 2.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2274, allocations: 53.37 MB / 432.4 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.00727/0.2347, allocations: 5.126 MB / 437.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.2385, allocations: 1.862 MB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.239, allocations: 12 kB / 439.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.242, allocations: 1.197 MB / 440.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.2437, allocations: 0.6218 MB / 441.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.245, allocations: 0.6151 MB / 441.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.2461, allocations: 0.7583 MB / 442.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007882/0.2469, allocations: 440.6 kB / 443 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.2474, allocations: 338.7 kB / 443.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.2479, allocations: 430.3 kB / 443.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.248, allocations: 64 kB / 443.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.2485, allocations: 255.8 kB / 444.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.2486, allocations: 163.3 kB / 444.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.249, allocations: 378.1 kB / 444.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.2502, allocations: 1.033 MB / 445.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2502, allocations: 0 / 445.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2502, allocations: 3.938 kB / 445.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.2502, allocations: 0 / 445.7 MB, free: 9.711 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.003687/0.2539, allocations: 1.32 MB / 447 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2539, allocations: 8.031 kB / 447 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005776/0.2597, allocations: 0.7887 MB / 447.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/0.2603, allocations: 354 kB / 448.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.2604, allocations: 58.38 kB / 448.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.2605, allocations: 80.12 kB / 448.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.262, allocations: 0.7687 MB / 449 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.262, allocations: 7.953 kB / 449 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.2621, allocations: 35.98 kB / 449.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.2621, allocations: 27.98 kB / 449.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.2638, allocations: 0.898 MB / 450 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004172/0.2679, allocations: 2.529 MB / 452.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.2698, allocations: 0.775 MB / 453.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.2703, allocations: 287.2 kB / 453.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.2704, allocations: 40.61 kB / 453.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.2704, allocations: 39.22 kB / 453.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.064e-06/0.2704, allocations: 0 / 453.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003602/0.274, allocations: 1.255 MB / 454.9 MB, free: 280 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.2741, allocations: 64.06 kB / 455 MB, free: 204 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.2744, allocations: 296.1 kB / 455.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.2745, allocations: 41.7 kB / 455.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.2747, allocations: 292.6 kB / 455.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.2749, allocations: 265.7 kB / 455.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.2751, allocations: 130.6 kB / 456 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2753, allocations: 350.7 kB / 456.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.2758, allocations: 241.9 kB / 456.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.2764, allocations: 354.5 kB / 456.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.2774, allocations: 0.6337 MB / 457.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2774, allocations: 4 kB / 457.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00179/0.2792, allocations: 0.8647 MB / 458.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2793, allocations: 11.12 kB / 458.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2793, allocations: 0 / 458.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/0.2801, allocations: 212.6 kB / 458.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.2806, allocations: 131.8 kB / 458.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.2841, allocations: 2.608 MB / 461.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.2845, allocations: 75.48 kB / 461.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.2846, allocations: 28 kB / 461.5 MB, free: 9.469 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.0002776/0.2849, allocations: 197.7 kB / 461.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.285, allocations: 55.66 kB / 461.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.2869, allocations: 0.882 MB / 462.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.2869, allocations: 11.94 kB / 462.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2869, allocations: 0 / 462.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2869, allocations: 3.984 kB / 462.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.2897, allocations: 1.675 MB / 464.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2897, allocations: 4 kB / 464.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.2902, allocations: 115.8 kB / 464.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006904/0.2909, allocations: 199.5 kB / 464.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.2909, allocations: 23.98 kB / 464.6 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.2943, allocations: 2.605 MB / 467.2 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2943, allocations: 0 / 467.2 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.2967, allocations: 1.253 MB / 468.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.2968, allocations: 59.55 kB / 468.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.2969, allocations: 12 kB / 468.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.2972, allocations: 35.98 kB / 468.6 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.2973, allocations: 56.53 kB / 468.6 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.2974, allocations: 24 kB / 468.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.2976, allocations: 203.1 kB / 468.9 MB, free: 1.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2976, allocations: 0 / 468.9 MB, free: 1.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007385/0.2983, allocations: 243.5 kB / 469.1 MB, free: 1.625 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.0002621/0.2986, allocations: 147.1 kB / 469.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.3001, allocations: 0.8045 MB / 470.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3001, allocations: 0 / 470.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008669/0.301, allocations: 0.5146 MB / 470.6 MB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.3015, allocations: 72.77 kB / 470.6 MB, free: 56 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.3035, allocations: 1.161 MB / 471.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.304, allocations: 0.8931 MB / 472.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002756/0.3043, allocations: 76.53 kB / 472.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.3045, allocations: 55.41 kB / 472.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3045, allocations: 3.938 kB / 472.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of Templates: time 0.01523/0.3197, allocations: 8.075 MB / 480.9 MB, free: 5.77 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.666468386538327]