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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 113.5 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 196 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009248/0.0009249, allocations: 51.91 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2392, allocations: 49.42 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003595/0.2429, allocations: 2.838 MB / 403.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2441, allocations: 0.7127 MB / 404.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.2444, allocations: 4 kB / 404.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.2445, allocations: 67.36 kB / 404.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.2448, allocations: 95.06 kB / 404.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.2451, allocations: 127.8 kB / 404.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.2456, allocations: 442.8 kB / 405 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.2459, allocations: 220.9 kB / 405.2 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.2461, allocations: 183.4 kB / 405.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.2464, allocations: 203.1 kB / 405.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.2465, allocations: 44 kB / 405.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.132e-05/0.2465, allocations: 48 kB / 405.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.2466, allocations: 103.7 kB / 405.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.2468, allocations: 211.1 kB / 406 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.2473, allocations: 0.498 MB / 406.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2473, allocations: 0 / 406.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2473, allocations: 0 / 406.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.2473, allocations: 4 kB / 406.5 MB, free: 3.086 MB / 318.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.001064/0.2484, allocations: 0.6927 MB / 407.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2484, allocations: 15.83 kB / 407.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.2485, allocations: 52.66 kB / 407.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.2488, allocations: 285.1 kB / 407.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2488, allocations: 29.38 kB / 407.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.2489, allocations: 52.34 kB / 407.6 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.2496, allocations: 451.6 kB / 408 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.2496, allocations: 0 / 408 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.2497, allocations: 20 kB / 408.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2497, allocations: 8 kB / 408.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.2502, allocations: 283.9 kB / 408.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.2521, allocations: 1.307 MB / 409.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.2525, allocations: 246.7 kB / 409.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.2529, allocations: 192.8 kB / 410.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2529, allocations: 0.5 kB / 410.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.253, allocations: 38.56 kB / 410.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.253, allocations: 0 / 410.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001348/0.2543, allocations: 0.5537 MB / 410.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.2545, allocations: 239.3 kB / 410.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2547, allocations: 207 kB / 411.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2547, allocations: 33.64 kB / 411.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.2548, allocations: 208.6 kB / 411.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.2549, allocations: 107 kB / 411.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.255, allocations: 61.7 kB / 411.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2551, allocations: 330.8 kB / 411.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.2553, allocations: 83.95 kB / 411.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.2555, allocations: 157.2 kB / 412.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.2559, allocations: 195.5 kB / 412.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2559, allocations: 0 / 412.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004764/0.2564, allocations: 288.9 kB / 412.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2564, allocations: 4 kB / 412.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2564, allocations: 0 / 412.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.2565, allocations: 4 kB / 412.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.2568, allocations: 79.89 kB / 412.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2568, allocations: 4.062 kB / 412.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.257, allocations: 31.78 kB / 412.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.257, allocations: 8 kB / 412.7 MB, free: 12.5 MB / 334.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.0001461/0.2572, allocations: 157.8 kB / 412.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.2572, allocations: 31.73 kB / 412.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-05/0.2573, allocations: 34.66 kB / 412.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2573, allocations: 0 / 412.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.2573, allocations: 4 kB / 412.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2574, allocations: 3.984 kB / 412.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.2583, allocations: 0.7672 MB / 413.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2584, allocations: 0 / 413.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.2586, allocations: 51.97 kB / 413.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002976/0.2589, allocations: 96.67 kB / 413.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.259, allocations: 4 kB / 413.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.2609, allocations: 1.987 MB / 415.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2609, allocations: 0 / 415.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.2616, allocations: 0.4946 MB / 416.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.2617, allocations: 104.9 kB / 416.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.2617, allocations: 8.062 kB / 416.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.2619, allocations: 15.92 kB / 416.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.262, allocations: 23.97 kB / 416.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.262, allocations: 4 kB / 416.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.2621, allocations: 156.5 kB / 416.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2621, allocations: 0 / 416.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.2625, allocations: 107.7 kB / 416.7 MB, free: 8.211 MB / 334.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.0001272/0.2626, allocations: 115.1 kB / 416.8 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.263, allocations: 211.8 kB / 417 MB, free: 7.879 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.263, allocations: 0 / 417 MB, free: 7.879 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.2634, allocations: 274.5 kB / 417.3 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.2638, allocations: 40.17 kB / 417.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.265, allocations: 0.8524 MB / 418.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.2653, allocations: 0.7869 MB / 419 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.2654, allocations: 29.94 kB / 419 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.2654, allocations: 19.44 kB / 419 MB, free: 5.812 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2655, allocations: 0 / 419 MB, free: 5.812 MB / 334.1 MB Notification: Performance of Templates: time 0.006239/0.2717, allocations: 3.141 MB / 422.2 MB, free: 2.684 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches