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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 246.9 MB, free: 9.012 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 58.75 kB / 306.9 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08371/0.08483, allocations: 50.53 MB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003656/0.08853, allocations: 2.88 MB / 360.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.08985, allocations: 0.7634 MB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.09008, allocations: 8 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.09027, allocations: 51.66 kB / 361.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.09052, allocations: 79.36 kB / 361.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.09087, allocations: 111.8 kB / 361.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.09132, allocations: 418.9 kB / 361.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.09162, allocations: 194 kB / 361.9 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.0919, allocations: 175.4 kB / 362.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.09215, allocations: 199.1 kB / 362.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.09222, allocations: 36 kB / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.09234, allocations: 36 kB / 362.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.09241, allocations: 91.72 kB / 362.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.0926, allocations: 207 kB / 362.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.09292, allocations: 391.2 kB / 363 MB, free: 8.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.09293, allocations: 0 / 363 MB, free: 8.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.09294, allocations: 3.938 kB / 363 MB, free: 8.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.09295, allocations: 0 / 363 MB, free: 8.652 MB / 302.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.001093/0.09405, allocations: 0.6904 MB / 363.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.0941, allocations: 8.031 kB / 363.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.09435, allocations: 56.45 kB / 363.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.09465, allocations: 272.4 kB / 364 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.09469, allocations: 33.38 kB / 364.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.09476, allocations: 44.28 kB / 364.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.09548, allocations: 459.6 kB / 364.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.09551, allocations: 0 / 364.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.09555, allocations: 16 kB / 364.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.09556, allocations: 12 kB / 364.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.0961, allocations: 283.8 kB / 364.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.09793, allocations: 1.322 MB / 366.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.09837, allocations: 244.9 kB / 366.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.09872, allocations: 193.9 kB / 366.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.09875, allocations: 4 kB / 366.6 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.09878, allocations: 42.56 kB / 366.7 MB, free: 4.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.383e-06/0.09879, allocations: 0 / 366.7 MB, free: 4.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00134/0.1001, allocations: 0.5462 MB / 367.2 MB, free: 4.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1003, allocations: 239.3 kB / 367.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1004, allocations: 206.8 kB / 367.6 MB, free: 3.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1005, allocations: 33.7 kB / 367.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1006, allocations: 200.2 kB / 367.9 MB, free: 3.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.1007, allocations: 106.4 kB / 368 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.1008, allocations: 65.7 kB / 368 MB, free: 3.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1009, allocations: 330.8 kB / 368.4 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.101, allocations: 79.7 kB / 368.4 MB, free: 2.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.1013, allocations: 152.5 kB / 368.6 MB, free: 2.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1016, allocations: 208.1 kB / 368.8 MB, free: 2.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1016, allocations: 0 / 368.8 MB, free: 2.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004357/0.102, allocations: 273.1 kB / 369.1 MB, free: 2.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1021, allocations: 8 kB / 369.1 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1021, allocations: 3.938 kB / 369.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1021, allocations: 4.062 kB / 369.1 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.1024, allocations: 87.83 kB / 369.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1025, allocations: 4 kB / 369.2 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1026, allocations: 27.69 kB / 369.2 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.1027, allocations: 12 kB / 369.2 MB, free: 2.074 MB / 302.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.000142/0.1028, allocations: 149.7 kB / 369.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.1029, allocations: 27.66 kB / 369.4 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.1029, allocations: 34.64 kB / 369.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1029, allocations: 8 kB / 369.4 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.103, allocations: 4 kB / 369.4 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.103, allocations: 3.984 kB / 369.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009925/0.104, allocations: 0.7652 MB / 370.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.104, allocations: 0 / 370.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.1042, allocations: 47.97 kB / 370.2 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.1046, allocations: 92.77 kB / 370.3 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1046, allocations: 8 kB / 370.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1552/0.2598, allocations: 1.834 MB / 372.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2598, allocations: 1.734 kB / 372.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.2607, allocations: 0.4953 MB / 372.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.2608, allocations: 103.7 kB / 372.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.2608, allocations: 6.547 kB / 372.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.261, allocations: 12.73 kB / 372.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.2611, allocations: 24.98 kB / 372.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.2611, allocations: 10.11 kB / 372.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.2612, allocations: 151.1 kB / 373 MB, free: 18.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2612, allocations: 0 / 373 MB, free: 18.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004148/0.2616, allocations: 107.9 kB / 373.1 MB, free: 18.59 MB / 302.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.0001129/0.2618, allocations: 112.7 kB / 373.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.2622, allocations: 208 kB / 373.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2622, allocations: 2.188 kB / 373.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.2626, allocations: 280.1 kB / 373.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.263, allocations: 34.61 kB / 373.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2643, allocations: 1.022 MB / 374.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2646, allocations: 0.7885 MB / 375.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.2647, allocations: 23.61 kB / 375.5 MB, free: 17.03 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2647, allocations: 1.062 kB / 375.5 MB, free: 17.03 MB / 302.1 MB Notification: Performance of Templates: time 0.007361/0.2721, allocations: 4.028 MB / 379.6 MB, free: 16.74 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches