Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.0008582/0.0008582, allocations: 91.61 kB / 22.19 MB, free: 2.383 MB / 18.57 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.0009636/0.0009636, allocations: 160.6 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.877/0.877, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.882e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002798/0.002827, allocations: 2.521 MB / 302.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.004023, allocations: 0.7292 MB / 302.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.004155, allocations: 8 kB / 302.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.004259, allocations: 55.42 kB / 303 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.004425, allocations: 103 kB / 303.1 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.004819, allocations: 119.7 kB / 303.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.005203, allocations: 458.6 kB / 303.7 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.005454, allocations: 157.4 kB / 303.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.005736, allocations: 275.5 kB / 304.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.005893, allocations: 143.5 kB / 304.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.005945, allocations: 44 kB / 304.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-05/0.005982, allocations: 44 kB / 304.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.006036, allocations: 99.66 kB / 304.4 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.006129, allocations: 147.7 kB / 304.6 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.006533, allocations: 0.5101 MB / 305.1 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.00654, allocations: 0 / 305.1 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.006543, allocations: 0 / 305.1 MB, free: 1.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.006552, allocations: 7.938 kB / 305.1 MB, free: 1.512 MB / 282.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.0008176/0.00737, allocations: 0.6107 MB / 305.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.007412, allocations: 11.98 kB / 305.7 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.007485, allocations: 56.58 kB / 305.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.007722, allocations: 218 kB / 306 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.007746, allocations: 29.38 kB / 306 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.0078, allocations: 48.33 kB / 306 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.008379, allocations: 0.613 MB / 306.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.008396, allocations: 192 / 306.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.008426, allocations: 20.38 kB / 306.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.008435, allocations: 19.88 kB / 306.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.008772, allocations: 283.8 kB / 307 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.009967, allocations: 1.089 MB / 308.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.01029, allocations: 214.7 kB / 308.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.01053, allocations: 176.8 kB / 308.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.01055, allocations: 4 kB / 308.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.01058, allocations: 42.56 kB / 308.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.01058, allocations: 0 / 308.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008305/0.01141, allocations: 466.4 kB / 308.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.0115, allocations: 235.3 kB / 309.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.01162, allocations: 182.7 kB / 309.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.01165, allocations: 37.7 kB / 309.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01175, allocations: 204.6 kB / 309.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.01182, allocations: 107.1 kB / 309.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.01189, allocations: 61.69 kB / 309.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.01198, allocations: 330.8 kB / 310.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.01207, allocations: 75.72 kB / 310.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.01225, allocations: 340.4 kB / 310.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.0128, allocations: 373.9 kB / 310.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.0128, allocations: 3.938 kB / 310.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002874/0.01309, allocations: 273.2 kB / 311.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.0131, allocations: 7.938 kB / 311.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01311, allocations: 0 / 311.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.01312, allocations: 7.938 kB / 311.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.0133, allocations: 79.89 kB / 311.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01331, allocations: 8.062 kB / 311.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.01339, allocations: 27.78 kB / 311.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.0134, allocations: 8 kB / 311.3 MB, free: 10.92 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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.0002298/0.01363, allocations: 162.8 kB / 311.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.01366, allocations: 23.86 kB / 311.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.0137, allocations: 34.59 kB / 311.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01371, allocations: 3.938 kB / 311.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.01372, allocations: 11.98 kB / 311.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01372, allocations: 0 / 311.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.0144, allocations: 0.6382 MB / 312.1 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.0144, allocations: 0 / 312.1 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.01454, allocations: 51.97 kB / 312.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.01474, allocations: 92.67 kB / 312.3 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01476, allocations: 8 kB / 312.3 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.01611, allocations: 1.835 MB / 314.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.01611, allocations: 3.938 kB / 314.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.01658, allocations: 0.4945 MB / 314.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.0166, allocations: 19.91 kB / 314.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01662, allocations: 15.98 kB / 314.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.0167, allocations: 16 kB / 314.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.01675, allocations: 19.95 kB / 314.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.01676, allocations: 8 kB / 314.7 MB, free: 7.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.066e-05/0.01683, allocations: 135.2 kB / 314.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01683, allocations: 0 / 314.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.01709, allocations: 107.7 kB / 314.9 MB, free: 7.074 MB / 298.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 0.0001122/0.0172, allocations: 107.2 kB / 315 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.01748, allocations: 196.1 kB / 315.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01748, allocations: 4 kB / 315.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.01777, allocations: 262.5 kB / 315.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01799, allocations: 24 kB / 315.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008283/0.01882, allocations: 0.7594 MB / 316.3 MB, free: 5.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.01893, allocations: 180.8 kB / 316.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.01898, allocations: 28.48 kB / 316.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01898, allocations: 0 / 316.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of Templates: time 0.004529/0.02351, allocations: 4.06 MB / 320.5 MB, free: 1.375 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.407735199667513]