Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 74.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 153 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 50.64 kB / 319.4 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08535, allocations: 52.16 MB / 371.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003792/0.08914, allocations: 2.581 MB / 374.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.09027, allocations: 0.6856 MB / 374.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.09038, allocations: 8 kB / 374.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.09052, allocations: 59.36 kB / 374.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.09072, allocations: 95.06 kB / 375 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.09104, allocations: 131.8 kB / 375.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.09153, allocations: 454.8 kB / 375.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.0918, allocations: 153.3 kB / 375.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.09203, allocations: 183.4 kB / 375.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.09227, allocations: 171.1 kB / 376.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.589e-05/0.09234, allocations: 48 kB / 376.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.891e-05/0.0924, allocations: 44 kB / 376.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.31e-05/0.0925, allocations: 99.69 kB / 376.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.09269, allocations: 187.2 kB / 376.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.09319, allocations: 0.5019 MB / 376.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.0932, allocations: 0 / 376.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0932, allocations: 4 kB / 376.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.09321, allocations: 0 / 376.9 MB, free: 2.094 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.001072/0.09428, allocations: 0.6107 MB / 377.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.09432, allocations: 12.03 kB / 377.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.761e-05/0.09441, allocations: 52.66 kB / 377.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.09472, allocations: 210.7 kB / 377.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.09476, allocations: 37.36 kB / 377.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.09484, allocations: 48.31 kB / 377.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.09564, allocations: 0.6167 MB / 378.5 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.09566, allocations: 0 / 378.5 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.09569, allocations: 19.94 kB / 378.5 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.09571, allocations: 8 kB / 378.5 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005317/0.09624, allocations: 283.9 kB / 378.8 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.09799, allocations: 1.101 MB / 379.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.09842, allocations: 214.7 kB / 380.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.09879, allocations: 177.2 kB / 380.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.09882, allocations: 8 kB / 380.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.09885, allocations: 34.56 kB / 380.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.09885, allocations: 4 kB / 380.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001345/0.1002, allocations: 465.9 kB / 380.8 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.1003, allocations: 239.3 kB / 381 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1005, allocations: 182.7 kB / 381.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.1005, allocations: 33.7 kB / 381.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1007, allocations: 208.5 kB / 381.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/0.1008, allocations: 115 kB / 381.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.1009, allocations: 57.7 kB / 381.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.101, allocations: 330.8 kB / 381.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.1012, allocations: 83.59 kB / 382 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.1015, allocations: 341.1 kB / 382.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.1019, allocations: 207.3 kB / 382.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1019, allocations: 0 / 382.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004856/0.1024, allocations: 277 kB / 382.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1024, allocations: 7.938 kB / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1024, allocations: 80 / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1024, allocations: 4 kB / 382.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.1028, allocations: 83.89 kB / 382.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1028, allocations: 3.984 kB / 382.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.1029, allocations: 31.84 kB / 383 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.103, allocations: 12 kB / 383 MB, free: 11.64 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.0001559/0.1031, allocations: 145.8 kB / 383.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.1032, allocations: 27.83 kB / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/0.1032, allocations: 30.66 kB / 383.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1032, allocations: 4 kB / 383.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1033, allocations: 0 / 383.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1033, allocations: 7.984 kB / 383.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1043, allocations: 0.6459 MB / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1043, allocations: 0 / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.1046, allocations: 51.91 kB / 383.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/0.1049, allocations: 92.73 kB / 384 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.1049, allocations: 11.94 kB / 384 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.107, allocations: 1.827 MB / 385.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.107, allocations: 0 / 385.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.1079, allocations: 0.4953 MB / 386.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.1079, allocations: 23.8 kB / 386.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1079, allocations: 12.19 kB / 386.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.1081, allocations: 11.98 kB / 386.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.1081, allocations: 28.02 kB / 386.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1082, allocations: 12 kB / 386.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1083, allocations: 128.8 kB / 386.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1083, allocations: 0 / 386.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.1087, allocations: 111.7 kB / 386.6 MB, free: 7.809 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.0001336/0.1088, allocations: 111.1 kB / 386.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.1092, allocations: 199.8 kB / 386.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1092, allocations: 4.125 kB / 386.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.1097, allocations: 262.5 kB / 387.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.1101, allocations: 31.92 kB / 387.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1114, allocations: 0.8423 MB / 388.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.1116, allocations: 180.8 kB / 388.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.167e-05/0.1116, allocations: 17.95 kB / 388.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.1117, allocations: 20.5 kB / 388.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1117, allocations: 0 / 388.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.007274/0.119, allocations: 3.103 MB / 391.4 MB, free: 3.008 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.617817152990028]