Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.000959/0.000959, allocations: 91.67 kB / 21.2 MB, free: 3.367 MB / 18.57 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.000954/0.000954, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9772/0.9772, allocations: 177 MB / 204.8 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 272.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.901e-05, allocations: 2.312 kB / 272.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002746/0.002765, allocations: 2.804 MB / 275.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003925, allocations: 0.7554 MB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.004038, allocations: 4 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.921e-05/0.004137, allocations: 63.42 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.004314, allocations: 110.9 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.004666, allocations: 123.7 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.005012, allocations: 462.6 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.005232, allocations: 157.3 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.005534, allocations: 287.4 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.005683, allocations: 143.6 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.005726, allocations: 44 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.005808, allocations: 56 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.005867, allocations: 107.6 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.005968, allocations: 151.7 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.006282, allocations: 334.8 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.006284, allocations: 3.938 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.006287, allocations: 4 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.006292, allocations: 0 / 278.5 MB, free: 11.72 MB / 266.7 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.0006798/0.006972, allocations: 0.7145 MB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.007008, allocations: 15.98 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.007184, allocations: 88.64 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.007401, allocations: 220.7 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.007425, allocations: 33.38 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.007477, allocations: 52.33 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.007941, allocations: 0.5655 MB / 280.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.007955, allocations: 192 / 280.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.00798, allocations: 20.38 kB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.007993, allocations: 15.94 kB / 280.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.008226, allocations: 169.8 kB / 280.3 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.009294, allocations: 1.104 MB / 281.4 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.009552, allocations: 195 kB / 281.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.009744, allocations: 139.5 kB / 281.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.009761, allocations: 4 kB / 281.8 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.009783, allocations: 41.39 kB / 281.8 MB, free: 8.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.009785, allocations: 0 / 281.8 MB, free: 8.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007219/0.01051, allocations: 405.9 kB / 282.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.01058, allocations: 239.3 kB / 282.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.0107, allocations: 225.9 kB / 282.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.01072, allocations: 33.7 kB / 282.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.01082, allocations: 255.2 kB / 283 MB, free: 6.887 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.01087, allocations: 103.1 kB / 283.1 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.01093, allocations: 71.34 kB / 283.1 MB, free: 6.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.01104, allocations: 0.504 MB / 283.6 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.0111, allocations: 39.97 kB / 283.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.01126, allocations: 336.4 kB / 284 MB, free: 5.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.01143, allocations: 149.2 kB / 284.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01143, allocations: 0 / 284.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000229/0.01166, allocations: 221.2 kB / 284.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.01167, allocations: 4 kB / 284.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01168, allocations: 3.984 kB / 284.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01169, allocations: 12 kB / 284.4 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.01187, allocations: 79.91 kB / 284.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.01187, allocations: 0 / 284.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.01194, allocations: 31.77 kB / 284.5 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01196, allocations: 12 kB / 284.5 MB, free: 5.219 MB / 266.7 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 8.634e-05/0.01204, allocations: 172.5 kB / 284.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.01208, allocations: 31.86 kB / 284.7 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.01211, allocations: 34.64 kB / 284.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01212, allocations: 7.938 kB / 284.7 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01212, allocations: 4 kB / 284.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01212, allocations: 3.938 kB / 284.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.01268, allocations: 0.6232 MB / 285.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01268, allocations: 0 / 285.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.01281, allocations: 47.91 kB / 285.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/0.01305, allocations: 91.66 kB / 285.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01306, allocations: 4 kB / 285.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.01421, allocations: 2.124 MB / 287.6 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01421, allocations: 3.938 kB / 287.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.0146, allocations: 467.6 kB / 288.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.01462, allocations: 23.8 kB / 288.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.01464, allocations: 15.92 kB / 288.1 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.01472, allocations: 8 kB / 288.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.01476, allocations: 23.95 kB / 288.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.01478, allocations: 12.17 kB / 288.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.244e-05/0.01484, allocations: 168.1 kB / 288.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01484, allocations: 32 / 288.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.01506, allocations: 115.7 kB / 288.5 MB, free: 1.043 MB / 266.7 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 7.801e-05/0.01514, allocations: 103.2 kB / 288.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.01536, allocations: 151.5 kB / 288.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01536, allocations: 0 / 288.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.01561, allocations: 308.8 kB / 289 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01583, allocations: 44.11 kB / 289 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08644/0.1023, allocations: 0.7174 MB / 289.8 MB, free: 26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.1023, allocations: 96.84 kB / 289.9 MB, free: 25.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.1025, allocations: 24.89 kB / 289.9 MB, free: 25.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.1025, allocations: 23.84 kB / 289.9 MB, free: 25.93 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1025, allocations: 0.5938 kB / 289.9 MB, free: 25.93 MB / 266.7 MB Notification: Performance of Templates: time 0.006171/0.1087, allocations: 3.247 MB / 293.2 MB, free: 25.68 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7676929030567408]