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.001269/0.001269, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001214/0.001214, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.396/1.396, allocations: 205.1 MB / 225 MB, free: 12.3 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.0014/0.0014, allocations: 47.92 kB / 281.3 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08716/0.08858, allocations: 46.63 MB / 327.9 MB, free: 4.488 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004232/0.09284, allocations: 2.782 MB / 330.7 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.09459, allocations: 0.7487 MB / 331.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.09492, allocations: 4 kB / 331.5 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.0952, allocations: 63.36 kB / 331.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.09562, allocations: 91.12 kB / 331.6 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.09612, allocations: 123.8 kB / 331.7 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005759/0.09671, allocations: 438.8 kB / 332.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.09713, allocations: 217 kB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.09745, allocations: 179.3 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.09775, allocations: 207.1 kB / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.09784, allocations: 44 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.09793, allocations: 44 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.09804, allocations: 95.73 kB / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.09827, allocations: 219 kB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.09881, allocations: 498.5 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.09883, allocations: 4 kB / 333.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.09883, allocations: 0 / 333.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.09886, allocations: 0 / 333.7 MB, free: 14.73 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.001337/0.1002, allocations: 0.6825 MB / 334.3 MB, free: 14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1003, allocations: 11.89 kB / 334.3 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.1004, allocations: 44.47 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.1007, allocations: 272.4 kB / 334.7 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.1008, allocations: 33.38 kB / 334.7 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.1008, allocations: 44.31 kB / 334.7 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.1016, allocations: 455.6 kB / 335.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.1016, allocations: 3.938 kB / 335.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.1017, allocations: 16 kB / 335.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1017, allocations: 8 kB / 335.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005952/0.1023, allocations: 287.9 kB / 335.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.1042, allocations: 1.318 MB / 336.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.1047, allocations: 235.9 kB / 337 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.1051, allocations: 192.8 kB / 337.2 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1052, allocations: 4 kB / 337.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.1052, allocations: 38.56 kB / 337.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 3.016e-06/0.1052, allocations: 4 kB / 337.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001486/0.1067, allocations: 0.5384 MB / 337.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1068, allocations: 243.3 kB / 338 MB, free: 10.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.107, allocations: 206.8 kB / 338.2 MB, free: 9.812 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.1071, allocations: 37.64 kB / 338.3 MB, free: 9.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1072, allocations: 195.9 kB / 338.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.1073, allocations: 106.5 kB / 338.6 MB, free: 9.469 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1074, allocations: 57.7 kB / 338.6 MB, free: 9.406 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1076, allocations: 346.8 kB / 339 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1077, allocations: 75.95 kB / 339 MB, free: 8.984 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.108, allocations: 148.6 kB / 339.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.1089, allocations: 369.3 kB / 339.6 MB, free: 8.441 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1089, allocations: 4 kB / 339.6 MB, free: 8.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005328/0.1095, allocations: 269.1 kB / 339.8 MB, free: 8.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1095, allocations: 4 kB / 339.8 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1095, allocations: 4.062 kB / 339.8 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1095, allocations: 4 kB / 339.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.1099, allocations: 79.89 kB / 339.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1099, allocations: 4 kB / 339.9 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1101, allocations: 35.67 kB / 339.9 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.1101, allocations: 8 kB / 340 MB, free: 8.031 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.0002737/0.1104, allocations: 157.8 kB / 340.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.1105, allocations: 27.66 kB / 340.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.1106, allocations: 30.64 kB / 340.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1106, allocations: 4 kB / 340.2 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.1106, allocations: 4 kB / 340.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1106, allocations: 7.922 kB / 340.2 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.1118, allocations: 0.7633 MB / 340.9 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1118, allocations: 8.031 kB / 341 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.1121, allocations: 51.91 kB / 341 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.1124, allocations: 88.8 kB / 341.1 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1125, allocations: 4 kB / 341.1 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.1146, allocations: 1.988 MB / 343.1 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.1147, allocations: 4.031 kB / 343.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/0.1155, allocations: 0.5059 MB / 343.6 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.1156, allocations: 104.8 kB / 343.7 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.1156, allocations: 8 kB / 343.7 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1158, allocations: 16.05 kB / 343.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.1159, allocations: 23.97 kB / 343.7 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1159, allocations: 4 kB / 343.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1161, allocations: 156.3 kB / 343.9 MB, free: 3.832 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.344e-06/0.1161, allocations: 0 / 343.9 MB, free: 3.832 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000421/0.1165, allocations: 107.6 kB / 344 MB, free: 3.727 MB / 286.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.0002225/0.1167, allocations: 111.1 kB / 344.1 MB, free: 3.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000507/0.1172, allocations: 219.6 kB / 344.3 MB, free: 3.391 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1173, allocations: 4 kB / 344.3 MB, free: 3.387 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.1177, allocations: 270.5 kB / 344.6 MB, free: 3.109 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.118, allocations: 20 kB / 344.6 MB, free: 3.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1195, allocations: 0.8791 MB / 345.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1199, allocations: 0.7831 MB / 346.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.12, allocations: 23.44 kB / 346.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.12, allocations: 0 / 346.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of Templates: time 0.006357/0.1264, allocations: 3.963 MB / 350.3 MB, free: 13.38 MB / 302.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