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.001317/0.001317, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001447/0.001447, allocations: 180.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.417/1.417, 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.001146/0.001146, allocations: 51.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09881, allocations: 46.61 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00464/0.1035, allocations: 2.786 MB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1056, allocations: 0.7446 MB / 378.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/0.106, allocations: 8 kB / 378.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1063, allocations: 63.36 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.1068, allocations: 91.12 kB / 378.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.1073, allocations: 127.8 kB / 378.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007582/0.1081, allocations: 438.8 kB / 379.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.1086, allocations: 232.8 kB / 379.6 MB, free: 92 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2026/0.3112, allocations: 162.4 kB / 379.8 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.3117, allocations: 205.6 kB / 380 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-05/0.3118, allocations: 46.09 kB / 380 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.3118, allocations: 45.38 kB / 380.1 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.3119, allocations: 98.17 kB / 380.1 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.3121, allocations: 215.8 kB / 380.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.3128, allocations: 0.491 MB / 380.8 MB, free: 9.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3128, allocations: 0 / 380.8 MB, free: 9.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3128, allocations: 1.969 kB / 380.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.3128, 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.001025/0.3138, allocations: 0.6967 MB / 381.5 MB, free: 9.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3139, allocations: 13.48 kB / 381.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.414e-05/0.314, allocations: 48.03 kB / 381.6 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.3142, allocations: 278.2 kB / 381.9 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.3143, allocations: 31.81 kB / 381.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.3143, allocations: 45.84 kB / 382 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.3151, allocations: 449.2 kB / 382.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.3151, allocations: 5.625 kB / 382.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.3152, allocations: 18.23 kB / 382.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.3152, allocations: 10.31 kB / 382.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.3158, allocations: 288.3 kB / 382.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.3176, allocations: 1.291 MB / 384 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.318, allocations: 239.3 kB / 384.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.3184, allocations: 199.7 kB / 384.4 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3184, allocations: 2.594 kB / 384.4 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3185, allocations: 39.77 kB / 384.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.3185, allocations: 2.062 kB / 384.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001361/0.3198, allocations: 0.5474 MB / 385 MB, free: 8.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.3199, allocations: 236.6 kB / 385.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3201, allocations: 208.8 kB / 385.5 MB, free: 7.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3201, allocations: 31.08 kB / 385.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.3202, allocations: 199.8 kB / 385.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.3203, allocations: 119 kB / 385.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.3204, allocations: 59.2 kB / 385.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.3204, allocations: 338.7 kB / 386.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3206, allocations: 78 kB / 386.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.3208, allocations: 147.9 kB / 386.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008368/0.3216, allocations: 366.1 kB / 386.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3217, allocations: 0 / 386.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004259/0.3221, allocations: 285.3 kB / 387 MB, free: 6.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3221, allocations: 7.172 kB / 387 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3221, allocations: 0.875 kB / 387 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3221, allocations: 2.781 kB / 387.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.3225, allocations: 81.38 kB / 387.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3225, allocations: 2.719 kB / 387.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.3227, allocations: 27.62 kB / 387.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3227, allocations: 12.48 kB / 387.2 MB, free: 6.535 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.0002327/0.3229, allocations: 166.2 kB / 387.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.323, allocations: 30.8 kB / 387.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.3231, allocations: 30.86 kB / 387.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3231, allocations: 3.25 kB / 387.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3231, allocations: 1.219 kB / 387.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3231, allocations: 3.172 kB / 387.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009809/0.3241, allocations: 0.7662 MB / 388.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3241, allocations: 0 / 388.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.3243, allocations: 50.38 kB / 388.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.3246, allocations: 90.06 kB / 388.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3247, allocations: 6.703 kB / 388.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.3263, allocations: 1.986 MB / 390.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3263, allocations: 0 / 390.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.327, allocations: 0.499 MB / 390.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.3271, allocations: 101.9 kB / 390.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.3271, allocations: 19.7 kB / 390.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3273, allocations: 11.83 kB / 390.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.3274, allocations: 21.8 kB / 391 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3274, allocations: 10.39 kB / 391 MB, free: 3.703 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.3275, allocations: 152.3 kB / 391.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3275, allocations: 0 / 391.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.3279, allocations: 113.5 kB / 391.2 MB, free: 3.57 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.0001021/0.328, allocations: 106.8 kB / 391.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.3284, allocations: 216.3 kB / 391.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3284, allocations: 1.188 kB / 391.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.3288, allocations: 277.9 kB / 391.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.3291, allocations: 22.62 kB / 391.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3305, allocations: 0.8543 MB / 392.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.3309, allocations: 0.7854 MB / 393.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.3311, allocations: 28.77 kB / 393.5 MB, free: 1.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.3311, allocations: 21.67 kB / 393.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3311, allocations: 0 / 393.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of Templates: time 0.008004/0.3391, allocations: 2.951 MB / 396.5 MB, free: 1.734 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