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.001047/0.001047, allocations: 108 kB / 18.35 MB, free: 4.812 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.0009884/0.0009884, allocations: 192.2 kB / 19.29 MB, free: 3.887 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.272/1.272, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001147/0.001147, allocations: 55.91 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07243/0.07359, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003481/0.0771, allocations: 2.784 MB / 331.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.07818, allocations: 0.7487 MB / 332.3 MB, free: 196 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.07829, allocations: 8 kB / 332.3 MB, free: 188 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.07843, allocations: 59.42 kB / 332.3 MB, free: 128 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.07861, allocations: 99.05 kB / 332.4 MB, free: 28 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.07895, allocations: 123.8 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.07934, allocations: 438.8 kB / 333 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.07966, allocations: 216.9 kB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.07985, allocations: 175.4 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.08007, allocations: 203.2 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.08014, allocations: 44 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.08022, allocations: 48 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.08029, allocations: 99.73 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.08046, allocations: 215 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.08086, allocations: 0.4943 MB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.08087, allocations: 0 / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08087, allocations: 0 / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.08089, allocations: 0 / 334.4 MB, free: 13.99 MB / 286.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.000961/0.08185, allocations: 0.6903 MB / 335.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.0819, allocations: 15.89 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.08198, allocations: 40.47 kB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.08224, allocations: 268.5 kB / 335.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.08228, allocations: 33.38 kB / 335.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.08234, allocations: 40.38 kB / 335.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.08298, allocations: 459.6 kB / 336 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.08301, allocations: 3.984 kB / 336 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.08305, allocations: 16 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.08306, allocations: 12 kB / 336 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.08357, allocations: 279.8 kB / 336.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.08521, allocations: 1.31 MB / 337.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.08562, allocations: 234.7 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.08597, allocations: 192.8 kB / 338 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.086, allocations: 4 kB / 338 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.08603, allocations: 38.55 kB / 338 MB, free: 10.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.08604, allocations: 0 / 338 MB, free: 10.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001339/0.08738, allocations: 0.5423 MB / 338.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.08748, allocations: 235.3 kB / 338.8 MB, free: 9.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.08766, allocations: 207 kB / 339 MB, free: 9.086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.0877, allocations: 37.7 kB / 339.1 MB, free: 9.043 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.08781, allocations: 199.9 kB / 339.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/0.08788, allocations: 106.4 kB / 339.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.08798, allocations: 61.69 kB / 339.4 MB, free: 8.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.08808, allocations: 330.8 kB / 339.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.08823, allocations: 71.97 kB / 339.8 MB, free: 8.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.08843, allocations: 160.8 kB / 340 MB, free: 8.082 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/0.08927, allocations: 369.9 kB / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.08928, allocations: 0 / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004262/0.08971, allocations: 277.1 kB / 340.6 MB, free: 7.438 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.08974, allocations: 8 kB / 340.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.08975, allocations: 0 / 340.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.08977, allocations: 4 kB / 340.6 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.09009, allocations: 79.89 kB / 340.7 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.09011, allocations: 7.938 kB / 340.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.09029, allocations: 31.75 kB / 340.7 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.09032, allocations: 15.98 kB / 340.7 MB, free: 7.293 MB / 286.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.0002047/0.09053, allocations: 153.8 kB / 340.9 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.09059, allocations: 27.66 kB / 340.9 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.09065, allocations: 30.64 kB / 340.9 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.09066, allocations: 0 / 340.9 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.09066, allocations: 0 / 340.9 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.09073, allocations: 112.8 kB / 341.1 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.09077, allocations: 8 kB / 341.1 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.09094, allocations: 8 kB / 341.1 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.091, allocations: 23.95 kB / 341.1 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009115/0.09191, allocations: 438.3 kB / 341.5 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005919/0.09252, allocations: 0.5146 MB / 342 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001493/0.09268, allocations: 91.94 kB / 342.1 MB, free: 5.844 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.0928, allocations: 152.4 kB / 342.3 MB, free: 5.695 MB / 286.1 MB Notification: Performance of Backend: time 3.91e-07/0.09281, allocations: 0 / 342.3 MB, free: 5.695 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.09334, allocations: 226.3 kB / 342.5 MB, free: 5.469 MB / 286.1 MB Notification: Performance of SimCode: time 0.001252/0.0946, allocations: 1.338 MB / 343.8 MB, free: 4.082 MB / 286.1 MB Notification: Performance of Templates: time 0.005672/0.1003, allocations: 2.953 MB / 346.8 MB, free: 1.125 MB / 286.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