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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001076/0.001081, allocations: 106.6 kB / 18.4 MB, free: 4.68 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.001093/0.001093, allocations: 190 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 55.86 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07041/0.07157, allocations: 46.6 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003567/0.07516, allocations: 2.777 MB / 378.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.07641, allocations: 0.7601 MB / 379.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.07659, allocations: 4 kB / 379.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.07676, allocations: 59.42 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.07697, allocations: 99.06 kB / 379.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.07735, allocations: 127.8 kB / 379.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.0778, allocations: 430.8 kB / 380.1 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.07814, allocations: 228.8 kB / 380.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1492/0.2274, allocations: 176.1 kB / 380.4 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.2277, allocations: 195.9 kB / 380.6 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.2278, allocations: 45.31 kB / 380.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.2279, allocations: 45.84 kB / 380.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.228, allocations: 106.8 kB / 380.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.2282, allocations: 211.5 kB / 381 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.2288, allocations: 0.4922 MB / 381.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2288, allocations: 2.062 kB / 381.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2288, allocations: 0 / 381.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2288, allocations: 0.9375 kB / 381.5 MB, free: 9.805 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.001094/0.2299, allocations: 0.6815 MB / 382.2 MB, free: 9.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.23, allocations: 12.11 kB / 382.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.2301, allocations: 46.41 kB / 382.3 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2304, allocations: 284.7 kB / 382.6 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.2304, allocations: 32.16 kB / 382.6 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/0.2305, allocations: 45.33 kB / 382.6 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008428/0.2314, allocations: 450.5 kB / 383.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.2314, allocations: 4.625 kB / 383.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.2315, allocations: 19.09 kB / 383.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.2315, allocations: 10.28 kB / 383.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.2322, allocations: 282.5 kB / 383.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.2341, allocations: 1.291 MB / 384.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.2345, allocations: 234.7 kB / 384.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.2348, allocations: 197.4 kB / 385.1 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.2349, allocations: 6.969 kB / 385.1 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2349, allocations: 38.38 kB / 385.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.2349, allocations: 1.031 kB / 385.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001334/0.2362, allocations: 0.5425 MB / 385.7 MB, free: 8.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.2363, allocations: 239.6 kB / 385.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.2365, allocations: 208.2 kB / 386.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2365, allocations: 31.86 kB / 386.1 MB, free: 7.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.2366, allocations: 205 kB / 386.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.2367, allocations: 98.59 kB / 386.4 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.2368, allocations: 66.81 kB / 386.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.2368, allocations: 331.9 kB / 386.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.237, allocations: 78.22 kB / 386.9 MB, free: 6.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.2372, allocations: 152.2 kB / 387.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.238, allocations: 370.2 kB / 387.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.238, allocations: 0 / 387.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004343/0.2385, allocations: 270.7 kB / 387.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2385, allocations: 12.5 kB / 387.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2385, allocations: 2.125 kB / 387.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2385, allocations: 2.469 kB / 387.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.2389, allocations: 83.02 kB / 387.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2389, allocations: 2.062 kB / 387.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.2391, allocations: 36.25 kB / 387.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.2391, allocations: 11.38 kB / 387.8 MB, free: 6.562 MB / 318.1 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.0002135/0.2393, allocations: 157 kB / 388 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.2394, allocations: 27.53 kB / 388 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.623e-05/0.2395, allocations: 33.23 kB / 388 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2395, allocations: 2.891 kB / 388 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2395, allocations: 0.875 kB / 388 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.2395, allocations: 101.5 kB / 388.1 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.2396, allocations: 11.91 kB / 388.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.2398, allocations: 10.64 kB / 388.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.2398, allocations: 31.55 kB / 388.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009008/0.2407, allocations: 431.2 kB / 388.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005963/0.2414, allocations: 0.5204 MB / 389.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001553/0.2415, allocations: 90.92 kB / 389.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.2416, allocations: 151.2 kB / 389.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of Backend: time 4.41e-07/0.2416, allocations: 0 / 389.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.2422, allocations: 230.1 kB / 389.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of SimCode: time 0.00119/0.2434, allocations: 1.338 MB / 390.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of Templates: time 0.006933/0.2504, allocations: 3.013 MB / 394 MB, free: 4.219 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches