Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001284/0.001284, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001418/0.001418, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 8.031 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.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors") [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.002082/0.002082, allocations: 64.77 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2818, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004257/0.2861, allocations: 2.868 MB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.2875, allocations: 0.7711 MB / 436 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.2876, allocations: 4 kB / 436 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.2878, allocations: 71.34 kB / 436.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.288, allocations: 95.12 kB / 436.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.2884, allocations: 123.8 kB / 436.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.2889, allocations: 454.8 kB / 436.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.2892, allocations: 165.4 kB / 436.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.2895, allocations: 183.4 kB / 437.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.2898, allocations: 207.2 kB / 437.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.2899, allocations: 52 kB / 437.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.29, allocations: 51.94 kB / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.2901, allocations: 107.7 kB / 437.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.2903, allocations: 215 kB / 437.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.2909, allocations: 0.5036 MB / 438.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2909, allocations: 0 / 438.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2909, allocations: 0 / 438.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.2909, allocations: 0 / 438.2 MB, free: 1.109 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001118/0.292, allocations: 0.6224 MB / 438.9 MB, free: 468 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.2921, allocations: 8.031 kB / 438.9 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.2923, allocations: 60.64 kB / 438.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.2926, allocations: 214.6 kB / 439.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.2927, allocations: 37.36 kB / 439.2 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.2927, allocations: 48.33 kB / 439.2 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/0.2935, allocations: 451.6 kB / 439.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2935, allocations: 0 / 439.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.2936, allocations: 20 kB / 439.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2936, allocations: 12 kB / 439.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.2942, allocations: 283.9 kB / 440 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.2962, allocations: 1.259 MB / 441.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.2967, allocations: 215.5 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/0.2971, allocations: 180.8 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.2971, allocations: 7.984 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.2972, allocations: 42.44 kB / 441.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.2972, allocations: 0 / 441.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001493/0.2987, allocations: 486.4 kB / 442.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.2988, allocations: 235.3 kB / 442.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.299, allocations: 210.8 kB / 442.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.299, allocations: 37.7 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.2992, allocations: 200.6 kB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.2993, allocations: 111 kB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2994, allocations: 61.69 kB / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2995, allocations: 334.8 kB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.2997, allocations: 75.97 kB / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.2999, allocations: 160.9 kB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.3003, allocations: 200.8 kB / 443.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3003, allocations: 0 / 443.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005079/0.3008, allocations: 281.1 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3009, allocations: 4 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3009, allocations: 4 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3009, allocations: 0 / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.3012, allocations: 87.83 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3012, allocations: 0 / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3014, allocations: 31.8 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3015, allocations: 11.98 kB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * 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.0001665/0.3016, allocations: 157.8 kB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.3017, allocations: 27.8 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.197e-05/0.3018, allocations: 30.66 kB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3018, allocations: 7.984 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3018, allocations: 0 / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3018, allocations: 0 / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.3031, allocations: 0.7273 MB / 445.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3031, allocations: 4.031 kB / 445.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.3033, allocations: 59.89 kB / 445.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003385/0.3037, allocations: 80.81 kB / 445.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3037, allocations: 8 kB / 445.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.306, allocations: 1.877 MB / 447.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.306, allocations: 4.062 kB / 447.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.3068, allocations: 0.4982 MB / 447.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.3069, allocations: 23.8 kB / 447.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3069, allocations: 12.06 kB / 447.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3071, allocations: 11.98 kB / 447.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.3071, allocations: 27.95 kB / 447.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3071, allocations: 8 kB / 447.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.3073, allocations: 152.5 kB / 447.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3073, allocations: 0 / 447.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.3077, allocations: 107.8 kB / 447.9 MB, free: 6.852 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.3078, allocations: 107.2 kB / 448.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005103/0.3083, allocations: 199.8 kB / 448.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3083, allocations: 0 / 448.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.3088, allocations: 266.4 kB / 448.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3093, allocations: 31.98 kB / 448.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3108, allocations: 0.8551 MB / 449.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.3112, allocations: 0.7831 MB / 450.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.3113, allocations: 25.94 kB / 450.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.3114, allocations: 27.42 kB / 450.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3114, allocations: 0 / 450.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of Templates: time 0.008719/0.3201, allocations: 3.341 MB / 453.6 MB, free: 1.156 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.660856870934367]