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.0008879/0.000888, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009376/0.0009376, allocations: 205.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002203/0.0002204, allocations: 8 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08711/0.08735, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002354/0.08974, allocations: 2.25 MB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.09082, allocations: 0.7483 MB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.09093, allocations: 8 kB / 361.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.112e-05/0.09101, allocations: 43.67 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.09119, allocations: 95.66 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.09146, allocations: 95.88 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.09177, allocations: 295.9 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.09204, allocations: 166.3 kB / 361.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.09227, allocations: 147.5 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.09246, allocations: 167.2 kB / 362.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.09252, allocations: 24 kB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.0926, allocations: 24 kB / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.09267, allocations: 75.75 kB / 362.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.09274, allocations: 93.52 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.09306, allocations: 383.1 kB / 362.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.09307, allocations: 0 / 362.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09308, allocations: 0 / 362.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.09309, allocations: 0 / 362.6 MB, free: 9.316 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.0008794/0.09398, allocations: 0.6239 MB / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.09402, allocations: 12.03 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.09424, allocations: 59.52 kB / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.09452, allocations: 271.1 kB / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.09456, allocations: 36.95 kB / 363.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.09462, allocations: 40 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.09525, allocations: 447.2 kB / 364.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.09528, allocations: 0 / 364.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.09532, allocations: 16 kB / 364.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.09534, allocations: 15.94 kB / 364.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.09583, allocations: 287.9 kB / 364.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.09758, allocations: 1.326 MB / 365.7 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.098, allocations: 240.2 kB / 366 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.09803, allocations: 4 kB / 366 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.09806, allocations: 38.56 kB / 366 MB, free: 5.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.09807, allocations: 0 / 366 MB, free: 5.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001298/0.09938, allocations: 0.5541 MB / 366.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.09949, allocations: 239.3 kB / 366.8 MB, free: 4.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.09967, allocations: 207 kB / 367 MB, free: 4.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.09971, allocations: 29.7 kB / 367 MB, free: 4.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.09982, allocations: 200.2 kB / 367.2 MB, free: 4.391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.0999, allocations: 106.5 kB / 367.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.09992, allocations: 4 kB / 367.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1, allocations: 342.8 kB / 367.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.1002, allocations: 87.7 kB / 367.8 MB, free: 3.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.1004, allocations: 147.7 kB / 367.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1006, allocations: 109 kB / 368 MB, free: 3.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1006, allocations: 3.938 kB / 368 MB, free: 3.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004255/0.101, allocations: 280.8 kB / 368.3 MB, free: 3.289 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1011, allocations: 4 kB / 368.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1011, allocations: 7.922 kB / 368.3 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1011, allocations: 8.031 kB / 368.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.1014, allocations: 87.89 kB / 368.4 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1014, allocations: 3.953 kB / 368.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1016, allocations: 31.69 kB / 368.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1016, allocations: 12.08 kB / 368.4 MB, free: 3.137 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.1018, allocations: 145.8 kB / 368.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.1018, allocations: 23.8 kB / 368.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.1019, allocations: 34.66 kB / 368.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1019, allocations: 4 kB / 368.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1019, allocations: 0 / 368.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1019, allocations: 7.938 kB / 368.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.1023, allocations: 397 kB / 369 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1023, allocations: 4 kB / 369 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.1026, allocations: 51.91 kB / 369.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/0.1029, allocations: 84.8 kB / 369.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1029, allocations: 12 kB / 369.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.1047, allocations: 1.867 MB / 371.1 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1047, allocations: 112 / 371.1 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1518/0.2565, allocations: 0.5137 MB / 371.6 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.133e-05/0.2566, allocations: 104.6 kB / 371.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.2567, allocations: 7.484 kB / 371.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.2569, allocations: 14.16 kB / 371.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.2569, allocations: 23.45 kB / 371.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.257, allocations: 6.969 kB / 371.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2571, allocations: 151.6 kB / 371.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2571, allocations: 1.719 kB / 371.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004113/0.2575, allocations: 108.6 kB / 372 MB, free: 19.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.98e-05/0.2576, allocations: 102 kB / 372.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004696/0.2581, allocations: 221.3 kB / 372.3 MB, free: 19.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2581, allocations: 0 / 372.3 MB, free: 19.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.2586, allocations: 282.5 kB / 372.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.2589, allocations: 27.22 kB / 372.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2602, allocations: 1.051 MB / 373.7 MB, free: 18.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.2605, allocations: 0.7975 MB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.2606, allocations: 24.58 kB / 374.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.2606, allocations: 30.86 kB / 374.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2606, allocations: 0 / 374.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of Templates: time 0.006408/0.267, allocations: 2.798 MB / 377.3 MB, free: 17.93 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches