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.001242/0.001242, allocations: 115.5 kB / 17.73 MB, free: 5.211 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.001288/0.001288, allocations: 188.2 kB / 18.66 MB, free: 4.285 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.393/1.393, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001141/0.001141, allocations: 52.31 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09286, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003551/0.09645, allocations: 2.774 MB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.09771, allocations: 0.7524 MB / 378.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.09784, allocations: 8 kB / 378.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.09799, allocations: 63.36 kB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.0982, allocations: 99.11 kB / 378.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.09858, allocations: 119.8 kB / 378.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.09903, allocations: 442.8 kB / 379.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.09941, allocations: 220.8 kB / 379.6 MB, free: 92 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1914/0.2908, allocations: 171.2 kB / 379.8 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.2912, allocations: 206.3 kB / 380 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.2914, allocations: 46.81 kB / 380 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2915, allocations: 45.38 kB / 380.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.2916, allocations: 98.12 kB / 380.1 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.2919, allocations: 214 kB / 380.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.2925, allocations: 0.4902 MB / 380.8 MB, free: 9.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2926, allocations: 2.625 kB / 380.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2926, allocations: 1.219 kB / 380.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.2926, allocations: 0 / 380.9 MB, free: 9.801 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.001304/0.2939, allocations: 0.6843 MB / 381.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.294, allocations: 13.48 kB / 381.5 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.2941, allocations: 44.55 kB / 381.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.2944, allocations: 290.6 kB / 381.9 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.2944, allocations: 28.69 kB / 381.9 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.2945, allocations: 48.39 kB / 382 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.2953, allocations: 446.3 kB / 382.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2954, allocations: 3.938 kB / 382.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.2954, allocations: 19.7 kB / 382.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.2954, allocations: 11.03 kB / 382.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.2961, allocations: 284.6 kB / 382.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.2981, allocations: 1.287 MB / 384 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.2986, allocations: 238.6 kB / 384.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.299, allocations: 198.8 kB / 384.4 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.2991, allocations: 2.781 kB / 384.4 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.2991, allocations: 40.14 kB / 384.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.2991, allocations: 0 / 384.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001485/0.3006, allocations: 0.5456 MB / 385 MB, free: 8.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.3007, allocations: 236.1 kB / 385.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.3009, allocations: 209.6 kB / 385.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3009, allocations: 33.14 kB / 385.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.301, allocations: 198.2 kB / 385.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.3011, allocations: 106.2 kB / 385.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.3012, allocations: 59.56 kB / 385.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.3013, allocations: 335.6 kB / 386.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.3015, allocations: 78.73 kB / 386.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.3017, allocations: 155.5 kB / 386.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008318/0.3025, allocations: 366 kB / 386.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3025, allocations: 1.656 kB / 386.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004593/0.303, allocations: 279.2 kB / 387 MB, free: 6.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.303, allocations: 5.906 kB / 387 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.303, allocations: 1.156 kB / 387 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.303, allocations: 2.656 kB / 387 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.3034, allocations: 81.27 kB / 387.1 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3034, allocations: 2.109 kB / 387.1 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.3036, allocations: 35.25 kB / 387.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.3036, allocations: 12.05 kB / 387.2 MB, free: 6.543 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.0002102/0.3038, allocations: 160.2 kB / 387.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.3039, allocations: 25.55 kB / 387.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/0.304, allocations: 33 kB / 387.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.304, allocations: 2.875 kB / 387.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.304, allocations: 2.969 kB / 387.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.304, allocations: 1.406 kB / 387.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.305, allocations: 0.7787 MB / 388.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.305, allocations: 0 / 388.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.3053, allocations: 47.38 kB / 388.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002884/0.3056, allocations: 91.75 kB / 388.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.3056, allocations: 7.766 kB / 388.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.3074, allocations: 1.97 MB / 390.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3074, allocations: 0 / 390.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.3082, allocations: 0.5136 MB / 390.8 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.3082, allocations: 97.47 kB / 390.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.3083, allocations: 12.39 kB / 390.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.3084, allocations: 11.89 kB / 390.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.3085, allocations: 23.8 kB / 390.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3085, allocations: 9.906 kB / 390.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.3086, allocations: 150.8 kB / 391.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3086, allocations: 1.188 kB / 391.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000399/0.3091, allocations: 116.8 kB / 391.2 MB, free: 3.586 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.0001101/0.3092, allocations: 107 kB / 391.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004422/0.3096, allocations: 209.5 kB / 391.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3096, allocations: 0 / 391.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.31, allocations: 278.8 kB / 391.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.3104, allocations: 29.31 kB / 391.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3116, allocations: 0.8399 MB / 392.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3119, allocations: 0.7851 MB / 393.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.312, allocations: 27.45 kB / 393.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.3121, allocations: 22.12 kB / 393.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3121, allocations: 0 / 393.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of Templates: time 0.007985/0.3201, allocations: 2.944 MB / 396.4 MB, free: 1.77 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/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