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.001851/0.001851, allocations: 82.02 kB / 21.25 MB, free: 0.5469 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.002375/0.002375, allocations: 165.6 kB / 24.5 MB, free: 3.848 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.478/1.478, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.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.001952/0.001952, allocations: 61.06 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09373, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004017/0.09775, allocations: 2.598 MB / 381.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.09904, allocations: 0.7322 MB / 382.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.09915, allocations: 4 kB / 382.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.09928, allocations: 67.36 kB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.09949, allocations: 95.11 kB / 382.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.09987, allocations: 135.7 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.1004, allocations: 446.9 kB / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.1006, allocations: 149.3 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.1009, allocations: 195.3 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.1012, allocations: 171.1 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.1013, allocations: 44 kB / 383.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1014, allocations: 60 kB / 383.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-05/0.1015, allocations: 99.72 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.1017, allocations: 183.2 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.1023, allocations: 0.5097 MB / 384.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1023, allocations: 0 / 384.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1023, allocations: 0 / 384.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.1023, allocations: 0 / 384.4 MB, free: 9.965 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.001079/0.1034, allocations: 0.6224 MB / 385 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1034, allocations: 8.031 kB / 385 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.1037, allocations: 60.64 kB / 385 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.104, allocations: 222.6 kB / 385.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.104, allocations: 29.38 kB / 385.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.1041, allocations: 48.33 kB / 385.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/0.1049, allocations: 0.6245 MB / 386 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1049, allocations: 0 / 386 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.105, allocations: 16 kB / 386 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.105, allocations: 12 kB / 386 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.1055, allocations: 279.9 kB / 386.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.1073, allocations: 1.089 MB / 387.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.1078, allocations: 214.7 kB / 387.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.1082, allocations: 180.7 kB / 387.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.1082, allocations: 4.5 kB / 387.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.1083, allocations: 42.44 kB / 387.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.1083, allocations: 0 / 387.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001425/0.1097, allocations: 481.9 kB / 388.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.1099, allocations: 239.3 kB / 388.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1101, allocations: 178.7 kB / 388.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.1101, allocations: 29.7 kB / 388.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1103, allocations: 208.5 kB / 388.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.1104, allocations: 107.1 kB / 389 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.1105, allocations: 69.69 kB / 389.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1107, allocations: 334.8 kB / 389.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.1108, allocations: 71.97 kB / 389.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.1112, allocations: 336.8 kB / 389.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.1116, allocations: 200.8 kB / 390 MB, free: 3.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1116, allocations: 0 / 390 MB, free: 3.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005029/0.1121, allocations: 277.2 kB / 390.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1121, allocations: 14.75 kB / 390.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1121, allocations: 0 / 390.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1121, allocations: 0 / 390.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.1125, allocations: 83.89 kB / 390.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1125, allocations: 4 kB / 390.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1126, allocations: 31.83 kB / 390.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1127, allocations: 8 kB / 390.4 MB, free: 3.512 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.0001534/0.1128, allocations: 149.8 kB / 390.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.1129, allocations: 27.8 kB / 390.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.431e-05/0.1129, allocations: 38.64 kB / 390.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1129, allocations: 3.984 kB / 390.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.1129, allocations: 4 kB / 390.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.113, allocations: 0 / 390.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.114, allocations: 0.642 MB / 391.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.114, allocations: 0 / 391.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.1142, allocations: 59.89 kB / 391.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.1146, allocations: 88.84 kB / 391.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1146, allocations: 4 kB / 391.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.1167, allocations: 1.835 MB / 393.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1167, allocations: 0 / 393.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.1175, allocations: 0.498 MB / 393.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.1175, allocations: 27.73 kB / 393.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.1175, allocations: 4.062 kB / 393.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1177, allocations: 12 kB / 393.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.1178, allocations: 23.95 kB / 393.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1178, allocations: 8 kB / 393.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1179, allocations: 136.2 kB / 394 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1179, allocations: 0 / 394 MB, free: 15.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004315/0.1183, allocations: 111.7 kB / 394.1 MB, free: 15.67 MB / 366.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.0001259/0.1185, allocations: 103.2 kB / 394.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.1189, allocations: 199.8 kB / 394.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1189, allocations: 4 kB / 394.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.1194, allocations: 270.3 kB / 394.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1198, allocations: 48.17 kB / 394.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1211, allocations: 0.8342 MB / 395.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.1212, allocations: 176.8 kB / 395.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.497e-05/0.1213, allocations: 29.92 kB / 395.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.1214, allocations: 20.5 kB / 395.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1214, allocations: 0 / 395.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Templates: time 0.007364/0.1287, allocations: 3.099 MB / 398.8 MB, free: 10.86 MB / 366.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 -s ida -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/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_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.391432845033705]