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.001195/0.001195, allocations: 109.4 kB / 18.4 MB, free: 4.668 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.001177/0.001177, allocations: 185.2 kB / 19.33 MB, free: 3.75 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.274/1.274, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.002147/0.002147, allocations: 47.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.115, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003879/0.1189, allocations: 2.786 MB / 378.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1205, allocations: 0.7446 MB / 379.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.1208, allocations: 4 kB / 379.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.1211, allocations: 71.36 kB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.1214, allocations: 91.12 kB / 379.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.1218, allocations: 123.8 kB / 379.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.1224, allocations: 438.8 kB / 380 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/0.1227, allocations: 228.8 kB / 380.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1633/0.286, allocations: 173.4 kB / 380.4 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.2864, allocations: 197.9 kB / 380.6 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.2865, allocations: 44.88 kB / 380.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.355e-05/0.2865, allocations: 46.94 kB / 380.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.2866, allocations: 102.8 kB / 380.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.2868, allocations: 214 kB / 381 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.2874, allocations: 0.4919 MB / 381.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2874, allocations: 1.688 kB / 381.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2874, allocations: 0 / 381.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.2874, allocations: 0 / 381.5 MB, free: 9.812 MB / 318.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.0009352/0.2883, allocations: 0.684 MB / 382.2 MB, free: 9.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2884, allocations: 12.11 kB / 382.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.2885, allocations: 47.34 kB / 382.3 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.2887, allocations: 283.1 kB / 382.5 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.2887, allocations: 35.81 kB / 382.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.2888, allocations: 42.06 kB / 382.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.2895, allocations: 447.4 kB / 383.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.2896, allocations: 5.812 kB / 383.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.2896, allocations: 17.34 kB / 383.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.2896, allocations: 9.75 kB / 383.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.2902, allocations: 286.4 kB / 383.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.2919, allocations: 1.289 MB / 384.7 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.2923, allocations: 239.2 kB / 384.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.2927, allocations: 201.3 kB / 385.1 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2927, allocations: 3.844 kB / 385.1 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.2927, allocations: 33.5 kB / 385.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.2927, allocations: 0.625 kB / 385.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001261/0.294, allocations: 0.5503 MB / 385.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.2941, allocations: 236 kB / 385.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.2942, allocations: 209.5 kB / 386.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2943, allocations: 31.52 kB / 386.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.2943, allocations: 199.7 kB / 386.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.2944, allocations: 100.4 kB / 386.4 MB, free: 7.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.2945, allocations: 66.62 kB / 386.5 MB, free: 7.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.2946, allocations: 336.3 kB / 386.8 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2947, allocations: 75.98 kB / 386.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2949, allocations: 157.8 kB / 387.1 MB, free: 6.855 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/0.2957, allocations: 360.6 kB / 387.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2957, allocations: 2.25 kB / 387.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004047/0.2961, allocations: 284.1 kB / 387.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2961, allocations: 5.938 kB / 387.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2961, allocations: 1.438 kB / 387.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2962, allocations: 1.031 kB / 387.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.2965, allocations: 76.95 kB / 387.8 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2965, allocations: 2.859 kB / 387.8 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2967, allocations: 39.27 kB / 387.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.2967, allocations: 11.95 kB / 387.8 MB, free: 6.555 MB / 318.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.0002181/0.2969, allocations: 163.5 kB / 388 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.297, allocations: 24.38 kB / 388 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.297, allocations: 33.81 kB / 388 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2971, allocations: 2.188 kB / 388 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.2971, allocations: 2.219 kB / 388 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.2971, allocations: 2.516 kB / 388 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009511/0.298, allocations: 0.7737 MB / 388.8 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.298, allocations: 1.281 kB / 388.8 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.2983, allocations: 50.62 kB / 388.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/0.2986, allocations: 89.83 kB / 389 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2986, allocations: 6.953 kB / 389 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.3001, allocations: 1.97 MB / 390.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3002, allocations: 1.125 kB / 390.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/0.3008, allocations: 0.5111 MB / 391.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.3009, allocations: 98.45 kB / 391.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.3009, allocations: 11.45 kB / 391.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3011, allocations: 11.58 kB / 391.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.3012, allocations: 24.08 kB / 391.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3012, allocations: 6.141 kB / 391.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3013, allocations: 154.9 kB / 391.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3013, allocations: 0 / 391.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.3017, allocations: 113.6 kB / 391.9 MB, free: 3.598 MB / 318.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.0001036/0.3018, allocations: 111.9 kB / 392 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.3022, allocations: 211.3 kB / 392.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3022, allocations: 1.094 kB / 392.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.3026, allocations: 273.5 kB / 392.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3029, allocations: 24.12 kB / 392.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.304, allocations: 0.8772 MB / 393.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3042, allocations: 0.7847 MB / 394.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.3043, allocations: 23.8 kB / 394.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3043, allocations: 0 / 394.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of Templates: time 0.006338/0.3106, allocations: 3.975 MB / 398.1 MB, free: 1.617 MB / 318.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