Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001749/0.001749, allocations: 73.88 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.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.002103/0.002103, allocations: 158.6 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 50.53 kB / 325.6 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.08614, allocations: 53.34 MB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003839/0.08998, allocations: 2.586 MB / 381.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.09123, allocations: 0.7322 MB / 382.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.09134, allocations: 4 kB / 382.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.09147, allocations: 67.41 kB / 382.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.09166, allocations: 95.06 kB / 382.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.09202, allocations: 131.8 kB / 382.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.09249, allocations: 446.9 kB / 382.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.09277, allocations: 161.3 kB / 383.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.09303, allocations: 191.3 kB / 383.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.09327, allocations: 167.2 kB / 383.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.09334, allocations: 48 kB / 383.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.09345, allocations: 55.98 kB / 383.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/0.09354, allocations: 95.75 kB / 383.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.09372, allocations: 179.2 kB / 383.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.09426, allocations: 0.5136 MB / 384.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.09426, allocations: 4 kB / 384.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09426, allocations: 0 / 384.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.09427, allocations: 3.938 kB / 384.3 MB, free: 10.31 MB / 350.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.001048/0.09532, allocations: 0.6146 MB / 385 MB, free: 9.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.09535, allocations: 16.03 kB / 385 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.09558, allocations: 56.64 kB / 385 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.09589, allocations: 223.6 kB / 385.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.09592, allocations: 33.31 kB / 385.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.09599, allocations: 48.33 kB / 385.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/0.09679, allocations: 0.6089 MB / 385.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.09681, allocations: 11.94 kB / 386 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.09685, allocations: 16 kB / 386 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.09686, allocations: 15.98 kB / 386 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.09741, allocations: 283.9 kB / 386.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.09919, allocations: 1.093 MB / 387.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.09962, allocations: 210.7 kB / 387.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.09999, allocations: 169.4 kB / 387.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1, allocations: 4.5 kB / 387.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1, allocations: 34.56 kB / 387.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.423e-06/0.1, allocations: 4 kB / 387.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001381/0.1014, allocations: 489.8 kB / 388.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.1016, allocations: 235.3 kB / 388.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1017, allocations: 175.3 kB / 388.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1018, allocations: 37.7 kB / 388.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1019, allocations: 212.5 kB / 388.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.555e-05/0.102, allocations: 107.1 kB / 389 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.875e-05/0.1021, allocations: 61.7 kB / 389.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1022, allocations: 334.8 kB / 389.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.1024, allocations: 71.97 kB / 389.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.1027, allocations: 341.5 kB / 389.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.1031, allocations: 204.8 kB / 390 MB, free: 4.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1031, allocations: 3.938 kB / 390 MB, free: 4.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004876/0.1036, allocations: 277.1 kB / 390.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1036, allocations: 7.938 kB / 390.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1036, allocations: 0 / 390.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1036, allocations: 4 kB / 390.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.104, allocations: 79.95 kB / 390.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.104, allocations: 4 kB / 390.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.1041, allocations: 27.84 kB / 390.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1042, allocations: 8 kB / 390.4 MB, free: 3.855 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.0001546/0.1043, allocations: 153.7 kB / 390.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.1044, allocations: 35.77 kB / 390.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.1044, allocations: 26.66 kB / 390.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1044, allocations: 4 kB / 390.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1045, allocations: 0 / 390.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1045, allocations: 3.984 kB / 390.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009962/0.1055, allocations: 0.646 MB / 391.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1055, allocations: 4 kB / 391.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.1057, allocations: 51.91 kB / 391.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.106, allocations: 96.67 kB / 391.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.106, allocations: 4 kB / 391.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.1081, allocations: 1.835 MB / 393.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1081, allocations: 0 / 393.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.1089, allocations: 0.4943 MB / 393.7 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.1089, allocations: 23.8 kB / 393.8 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.109, allocations: 8.125 kB / 393.8 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1091, allocations: 15.98 kB / 393.8 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.1092, allocations: 23.95 kB / 393.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1092, allocations: 8 kB / 393.8 MB, free: 252 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1093, allocations: 132.3 kB / 393.9 MB, free: 120 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1093, allocations: 0 / 393.9 MB, free: 120 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003915/0.1097, allocations: 107.7 kB / 394 MB, free: 12 kB / 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.0001431/0.1098, allocations: 107.2 kB / 394.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.1102, allocations: 199.8 kB / 394.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1102, allocations: 0 / 394.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.1107, allocations: 266.5 kB / 394.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.1112, allocations: 42.73 kB / 394.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1125, allocations: 0.8551 MB / 395.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.1126, allocations: 180.8 kB / 395.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.411e-05/0.1127, allocations: 21.94 kB / 395.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.1128, allocations: 28.44 kB / 395.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1128, allocations: 0 / 395.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Templates: time 0.007108/0.1199, allocations: 3.084 MB / 398.8 MB, free: 11.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.24885426601395]