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.002095/0.002095, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.002104/0.002104, allocations: 164.9 kB / 23.95 MB, free: 4.172 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.466/1.466, allocations: 177.2 MB / 204.3 MB, free: 9.199 MB / 190.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 1.272e-06/1.272e-06, allocations: 0 / 325.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.08e-05, allocations: 6.281 kB / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006007/0.006028, allocations: 4.571 MB / 329.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003766/0.009793, allocations: 1.733 MB / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.01011, allocations: 17.25 kB / 331.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.013, allocations: 1.157 MB / 332.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.01458, allocations: 0.6111 MB / 333.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.01595, allocations: 0.5748 MB / 333.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009288/0.01688, allocations: 0.7844 MB / 334.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008063/0.01768, allocations: 0.5237 MB / 335 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.0183, allocations: 484.3 kB / 335.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.01873, allocations: 323.6 kB / 335.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.01882, allocations: 63.31 kB / 335.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005519/0.01937, allocations: 247.8 kB / 336.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.01952, allocations: 172.3 kB / 336.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.01979, allocations: 253.1 kB / 336.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.02102, allocations: 1.044 MB / 337.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.02102, allocations: 3.984 kB / 337.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.02102, allocations: 7.938 kB / 337.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.02103, allocations: 1.25 kB / 337.6 MB, free: 8.246 MB / 302.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.004101/0.02514, allocations: 1.318 MB / 338.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.02518, allocations: 8.031 kB / 338.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006226/0.0314, allocations: 0.7848 MB / 339.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/0.03214, allocations: 356.8 kB / 340.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/0.03221, allocations: 66.31 kB / 340.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.03235, allocations: 80.36 kB / 340.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.0339, allocations: 0.8195 MB / 341 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.03392, allocations: 7.938 kB / 341 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.03401, allocations: 28 kB / 341.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.03402, allocations: 20 kB / 341.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.03573, allocations: 0.8979 MB / 342 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.03974, allocations: 2.192 MB / 344.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.04162, allocations: 0.7763 MB / 345 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.04217, allocations: 299.1 kB / 345.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.04227, allocations: 28.62 kB / 345.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.04231, allocations: 43.16 kB / 345.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.495e-06/0.04231, allocations: 0 / 345.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.003737/0.04605, allocations: 1.267 MB / 346.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.04609, allocations: 60.06 kB / 346.6 MB, free: 15.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.04638, allocations: 253.8 kB / 346.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.04643, allocations: 37.7 kB / 346.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.04663, allocations: 300.6 kB / 347.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.04688, allocations: 257.7 kB / 347.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.04708, allocations: 126.6 kB / 347.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.04725, allocations: 350.8 kB / 347.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.04773, allocations: 233.9 kB / 348.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.04831, allocations: 358.5 kB / 348.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.04945, allocations: 0.6337 MB / 349.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.04946, allocations: 4 kB / 349.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001884/0.05134, allocations: 0.8608 MB / 350 MB, free: 11.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.05136, allocations: 4 kB / 350 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.05137, allocations: 4 kB / 350 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/0.05218, allocations: 207.6 kB / 350.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.05276, allocations: 135.7 kB / 350.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/0.05633, allocations: 2.539 MB / 352.9 MB, free: 8.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.05678, allocations: 67.55 kB / 353 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.05684, allocations: 28 kB / 353 MB, free: 8.824 MB / 318.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.0003193/0.05716, allocations: 201.6 kB / 353.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.05726, allocations: 47.7 kB / 353.2 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.05925, allocations: 0.8819 MB / 354.1 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.05926, allocations: 12 kB / 354.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.05927, allocations: 4 kB / 354.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.05928, allocations: 3.984 kB / 354.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.06198, allocations: 1.485 MB / 355.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.06199, allocations: 0 / 355.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.06249, allocations: 111.9 kB / 355.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007378/0.06323, allocations: 214.9 kB / 355.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.06327, allocations: 19.98 kB / 356 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/0.06661, allocations: 2.53 MB / 358.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.06661, allocations: 0 / 358.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.069, allocations: 1.257 MB / 359.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.06909, allocations: 51.56 kB / 359.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.06916, allocations: 15.98 kB / 359.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.06952, allocations: 32.06 kB / 359.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.06966, allocations: 60.53 kB / 359.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.0697, allocations: 23.98 kB / 359.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.06989, allocations: 177.2 kB / 360.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.06989, allocations: 0 / 360.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008355/0.07073, allocations: 239.5 kB / 360.3 MB, free: 1.305 MB / 318.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.0002824/0.07101, allocations: 147 kB / 360.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.07259, allocations: 0.8007 MB / 361.3 MB, free: 340 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.07259, allocations: 0 / 361.3 MB, free: 340 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009189/0.07351, allocations: 0.5145 MB / 361.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.07394, allocations: 60.36 kB / 361.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.07583, allocations: 1.116 MB / 363 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.07613, allocations: 290.8 kB / 363.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.07638, allocations: 72.38 kB / 363.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.07653, allocations: 52.48 kB / 363.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.07653, allocations: 0 / 363.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Templates: time 0.01465/0.09118, allocations: 7.326 MB / 370.7 MB, free: 6.922 MB / 334.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/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_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.638147581368685]