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.001811/0.001811, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.002385/0.002385, allocations: 214.2 kB / 22.99 MB, free: 5.609 MB / 14.72 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 1.456/1.456, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001826/0.001826, allocations: 63.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2356, allocations: 53.32 MB / 429.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003813/0.2394, allocations: 2.863 MB / 432.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2407, allocations: 0.7673 MB / 433.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2408, allocations: 8 kB / 433.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.2409, allocations: 67.41 kB / 433.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.2411, allocations: 95.06 kB / 433.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.2415, allocations: 127.7 kB / 433.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.2419, allocations: 446.8 kB / 434.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.2422, allocations: 168.9 kB / 434.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.2425, allocations: 179.4 kB / 434.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.2427, allocations: 207.1 kB / 434.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.807e-05/0.2428, allocations: 48 kB / 434.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.2429, allocations: 52 kB / 434.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.2429, allocations: 103.7 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.2432, allocations: 215 kB / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.2437, allocations: 0.4995 MB / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2437, allocations: 3.984 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2437, allocations: 0 / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2437, allocations: 0 / 435.6 MB, free: 1.84 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.001067/0.2448, allocations: 0.7016 MB / 436.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2448, allocations: 8.031 kB / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.245, allocations: 60.64 kB / 436.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.2453, allocations: 280.5 kB / 436.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.2453, allocations: 33.38 kB / 436.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.2454, allocations: 44.33 kB / 436.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.2461, allocations: 451.6 kB / 437.2 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.2461, allocations: 7.984 kB / 437.2 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.2462, allocations: 16 kB / 437.2 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.2462, allocations: 16 kB / 437.2 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.2467, allocations: 279.9 kB / 437.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.2485, allocations: 1.299 MB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.249, allocations: 222.6 kB / 439 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.2493, allocations: 184.6 kB / 439.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.2493, allocations: 7.984 kB / 439.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.2494, allocations: 34.56 kB / 439.2 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.313e-06/0.2494, allocations: 0 / 439.2 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001375/0.2508, allocations: 0.5542 MB / 439.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.2509, allocations: 239.3 kB / 440 MB, free: 13.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.2511, allocations: 210.8 kB / 440.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.2511, allocations: 33.7 kB / 440.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.2513, allocations: 200.6 kB / 440.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/0.2514, allocations: 111.1 kB / 440.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2515, allocations: 61.69 kB / 440.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2516, allocations: 338.8 kB / 440.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2517, allocations: 71.97 kB / 441 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.252, allocations: 156.5 kB / 441.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.2523, allocations: 200.2 kB / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2523, allocations: 0 / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004459/0.2527, allocations: 281 kB / 441.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2527, allocations: 4 kB / 441.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2528, allocations: 0 / 441.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2528, allocations: 4 kB / 441.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.2531, allocations: 83.89 kB / 441.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2531, allocations: 0 / 441.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.2533, allocations: 31.78 kB / 441.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2533, allocations: 16.05 kB / 441.8 MB, free: 11.29 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.0001548/0.2534, allocations: 153.8 kB / 441.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.2535, allocations: 27.8 kB / 441.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.2535, allocations: 30.64 kB / 442 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2536, allocations: 4 kB / 442 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.2536, allocations: 7.875 kB / 442 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2536, allocations: 0 / 442 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2546, allocations: 0.7673 MB / 442.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2546, allocations: 3.984 kB / 442.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.2549, allocations: 51.97 kB / 442.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002898/0.2552, allocations: 80.81 kB / 442.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.2552, allocations: 11.98 kB / 442.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.2572, allocations: 1.977 MB / 444.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2572, allocations: 3.938 kB / 444.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.258, allocations: 0.4935 MB / 445.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.2581, allocations: 101 kB / 445.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.2581, allocations: 20.05 kB / 445.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.2582, allocations: 8 kB / 445.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.2583, allocations: 27.84 kB / 445.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2583, allocations: 8 kB / 445.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.2585, allocations: 156.5 kB / 445.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2585, allocations: 3.938 kB / 445.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.2588, allocations: 107.7 kB / 445.8 MB, free: 7 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.0001503/0.259, allocations: 103.2 kB / 445.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.2594, allocations: 199.9 kB / 446.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2594, allocations: 0 / 446.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.2598, allocations: 270.5 kB / 446.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.2602, allocations: 36.23 kB / 446.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2615, allocations: 0.8497 MB / 447.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.2619, allocations: 0.787 MB / 448 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.203e-05/0.262, allocations: 25.94 kB / 448.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.2621, allocations: 27.42 kB / 448.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2621, allocations: 0 / 448.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of Templates: time 0.00749/0.2696, allocations: 3.257 MB / 451.3 MB, free: 1.371 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.4366510063409805]