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.001634/0.001634, allocations: 112.3 kB / 17.73 MB, free: 5.359 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.001892/0.001893, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.376/1.376, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001342/0.001342, allocations: 51.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09467, allocations: 46.61 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004478/0.09919, allocations: 2.789 MB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1009, allocations: 0.7407 MB / 378.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.1012, allocations: 8 kB / 378.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.1014, allocations: 67.36 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.1017, allocations: 91.12 kB / 378.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.1022, allocations: 127.8 kB / 378.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.1027, allocations: 434.8 kB / 379.4 MB, free: 336 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.1031, allocations: 236.7 kB / 379.6 MB, free: 92 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1948/0.2979, allocations: 170 kB / 379.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000414/0.2984, allocations: 201.9 kB / 380 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.65e-05/0.2985, allocations: 45.38 kB / 380 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.2986, allocations: 44.56 kB / 380.1 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.369e-05/0.2987, allocations: 99.16 kB / 380.1 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.2989, allocations: 214.6 kB / 380.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.2995, allocations: 0.4925 MB / 380.8 MB, free: 9.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2995, allocations: 2.281 kB / 380.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2995, allocations: 0 / 380.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2996, allocations: 0 / 380.9 MB, free: 9.793 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.001134/0.3007, allocations: 0.6823 MB / 381.5 MB, free: 9.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3008, allocations: 13.02 kB / 381.5 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/0.3009, allocations: 51.48 kB / 381.6 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3011, allocations: 282 kB / 381.9 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.3012, allocations: 30.09 kB / 381.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.3013, allocations: 47.41 kB / 381.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007745/0.3021, allocations: 449.7 kB / 382.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3021, allocations: 5.312 kB / 382.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.3021, allocations: 15.12 kB / 382.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3021, allocations: 9.938 kB / 382.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.3028, allocations: 289.9 kB / 382.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3047, allocations: 1.287 MB / 384 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.3051, allocations: 237.2 kB / 384.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.3056, allocations: 197.8 kB / 384.4 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.3056, allocations: 3.234 kB / 384.4 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.3056, allocations: 37.91 kB / 384.5 MB, free: 8.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.332e-06/0.3056, allocations: 2.094 kB / 384.5 MB, free: 8.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001397/0.307, allocations: 0.5431 MB / 385 MB, free: 8.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.3071, allocations: 240.8 kB / 385.2 MB, free: 7.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3073, allocations: 209.8 kB / 385.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3073, allocations: 31.64 kB / 385.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.3074, allocations: 202.5 kB / 385.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.3075, allocations: 103.7 kB / 385.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.3076, allocations: 62.55 kB / 385.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.3076, allocations: 332.1 kB / 386.2 MB, free: 7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3078, allocations: 78.06 kB / 386.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.308, allocations: 149.3 kB / 386.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008225/0.3088, allocations: 370.9 kB / 386.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3088, allocations: 0 / 386.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004242/0.3093, allocations: 279.2 kB / 387 MB, free: 6.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3093, allocations: 5.812 kB / 387 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3093, allocations: 1.156 kB / 387 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3093, allocations: 2.016 kB / 387 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.3096, allocations: 84.67 kB / 387.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3097, allocations: 2.938 kB / 387.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.3098, allocations: 37.77 kB / 387.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.3099, allocations: 12.34 kB / 387.2 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.000259/0.3101, allocations: 153.9 kB / 387.3 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.3102, allocations: 24.31 kB / 387.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.3103, allocations: 33.55 kB / 387.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3103, allocations: 3.375 kB / 387.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.3103, allocations: 2.312 kB / 387.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3103, allocations: 1.5 kB / 387.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.3114, allocations: 0.7703 MB / 388.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3114, allocations: 1.031 kB / 388.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.3117, allocations: 55.11 kB / 388.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/0.312, allocations: 90.7 kB / 388.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.312, allocations: 7.297 kB / 388.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.3137, allocations: 1.973 MB / 390.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3137, allocations: 1.125 kB / 390.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.3145, allocations: 0.5076 MB / 390.8 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.3145, allocations: 98.39 kB / 390.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.3146, allocations: 6.594 kB / 390.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.3147, allocations: 19.16 kB / 390.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.3148, allocations: 23.39 kB / 390.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3149, allocations: 10.73 kB / 390.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.315, allocations: 150.7 kB / 391.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.315, allocations: 0 / 391.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.3154, allocations: 117.1 kB / 391.2 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.000114/0.3155, allocations: 107.7 kB / 391.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.3159, allocations: 211.8 kB / 391.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3159, allocations: 0 / 391.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.3163, allocations: 275.4 kB / 391.8 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.0003376/0.3167, allocations: 22.98 kB / 391.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.318, allocations: 0.8478 MB / 392.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3183, allocations: 0.7878 MB / 393.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.227e-05/0.3184, allocations: 22.77 kB / 393.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.3184, allocations: 25.19 kB / 393.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3184, allocations: 0 / 393.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of Templates: time 0.00729/0.3257, allocations: 2.953 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