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.00107/0.00107, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.55 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1005, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003605/0.1041, allocations: 2.834 MB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1054, allocations: 0.7595 MB / 362.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1055, allocations: 4 kB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.1057, allocations: 75.28 kB / 362.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.1059, allocations: 95.06 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.1062, allocations: 131.8 kB / 362.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.1067, allocations: 442.8 kB / 363.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.107, allocations: 220.9 kB / 363.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.1072, allocations: 183.4 kB / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1075, allocations: 203.1 kB / 363.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.1075, allocations: 52 kB / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1077, allocations: 52 kB / 363.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.1077, allocations: 99.67 kB / 364 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.1079, allocations: 223 kB / 364.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.1084, allocations: 0.5099 MB / 364.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1084, allocations: 0 / 364.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1084, allocations: 0 / 364.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1084, allocations: 0 / 364.7 MB, free: 7.43 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.001007/0.1094, allocations: 0.6864 MB / 365.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1095, allocations: 8.031 kB / 365.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.1097, allocations: 56.45 kB / 365.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.11, allocations: 274.1 kB / 365.8 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1101, allocations: 33.31 kB / 365.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/0.1101, allocations: 52.28 kB / 365.8 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.1108, allocations: 447.6 kB / 366.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.1108, allocations: 3.938 kB / 366.3 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.1109, allocations: 20 kB / 366.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1109, allocations: 12 kB / 366.3 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.1114, allocations: 279.9 kB / 366.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.113, allocations: 1.299 MB / 367.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.1134, allocations: 245.5 kB / 368.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.1138, allocations: 193.9 kB / 368.3 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1138, allocations: 4 kB / 368.3 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1138, allocations: 38.55 kB / 368.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.362e-06/0.1138, allocations: 3.938 kB / 368.4 MB, free: 3.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00127/0.1151, allocations: 0.558 MB / 368.9 MB, free: 3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.961e-05/0.1152, allocations: 235.3 kB / 369.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.1154, allocations: 210.8 kB / 369.3 MB, free: 2.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.1155, allocations: 33.7 kB / 369.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1156, allocations: 196.2 kB / 369.6 MB, free: 2.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.1156, allocations: 106.5 kB / 369.7 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.1157, allocations: 65.62 kB / 369.7 MB, free: 2.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1158, allocations: 338.8 kB / 370.1 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.116, allocations: 83.66 kB / 370.2 MB, free: 1.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1162, allocations: 156.5 kB / 370.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.1165, allocations: 208 kB / 370.5 MB, free: 1.273 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1165, allocations: 0 / 370.5 MB, free: 1.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004153/0.117, allocations: 273.1 kB / 370.8 MB, free: 1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.117, allocations: 4 kB / 370.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.117, allocations: 0 / 370.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.117, allocations: 4 kB / 370.8 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.1173, allocations: 79.89 kB / 370.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1173, allocations: 0 / 370.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1175, allocations: 39.73 kB / 370.9 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1175, allocations: 8 kB / 370.9 MB, free: 0.8672 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.0001354/0.1177, allocations: 157.7 kB / 371.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.1177, allocations: 27.66 kB / 371.1 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/0.1178, allocations: 30.64 kB / 371.1 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1178, allocations: 7.938 kB / 371.1 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1178, allocations: 0 / 371.1 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1178, allocations: 0 / 371.1 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1614/0.2793, allocations: 0.7652 MB / 371.9 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.2793, allocations: 2.172 kB / 371.9 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.2796, allocations: 53.73 kB / 371.9 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/0.2799, allocations: 90.14 kB / 372 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.28, allocations: 7.078 kB / 372 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.2816, allocations: 1.98 MB / 374 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2816, allocations: 0 / 374 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.2823, allocations: 0.498 MB / 374.5 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.2824, allocations: 106.4 kB / 374.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.2824, allocations: 12.84 kB / 374.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.2826, allocations: 12.69 kB / 374.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.2826, allocations: 19.8 kB / 374.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2827, allocations: 13.62 kB / 374.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.2828, allocations: 149.9 kB / 374.8 MB, free: 18.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2828, allocations: 0 / 374.8 MB, free: 18.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.2832, allocations: 105.3 kB / 374.9 MB, free: 18.22 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.0001022/0.2833, allocations: 105.9 kB / 375 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.2837, allocations: 211.1 kB / 375.2 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2837, allocations: 1 kB / 375.2 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.2841, allocations: 275.8 kB / 375.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.2845, allocations: 39.22 kB / 375.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.2856, allocations: 0.8382 MB / 376.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.2858, allocations: 0.7879 MB / 377.2 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.943e-05/0.2859, allocations: 28.06 kB / 377.2 MB, free: 16.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.286, allocations: 20.75 kB / 377.2 MB, free: 16.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.286, allocations: 1.375 kB / 377.2 MB, free: 16.68 MB / 302.1 MB Notification: Performance of Templates: time 0.006798/0.2928, allocations: 3.087 MB / 380.3 MB, free: 16.46 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 -s cvode -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