Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 175.9 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008333/0.0008334, allocations: 88.02 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002578, allocations: 12 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2103, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002191/0.2125, allocations: 2.322 MB / 378.9 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008969/0.2135, allocations: 0.7154 MB / 379.6 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.2136, allocations: 5.312 kB / 379.6 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.028e-05/0.2137, allocations: 47.17 kB / 379.7 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.2138, allocations: 77.22 kB / 379.8 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.2141, allocations: 97.03 kB / 379.9 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.2145, allocations: 427.4 kB / 380.3 MB, free: 42.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.2148, allocations: 188.4 kB / 380.5 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.215, allocations: 144.6 kB / 380.6 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.2152, allocations: 172.5 kB / 380.8 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.2152, allocations: 23.62 kB / 380.8 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.2153, allocations: 23.84 kB / 380.8 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.2153, allocations: 67.48 kB / 380.9 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.2155, allocations: 214.5 kB / 381.1 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.2158, allocations: 472.2 kB / 381.5 MB, free: 41.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2159, allocations: 0 / 381.5 MB, free: 41.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2159, allocations: 0 / 381.5 MB, free: 41.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2159, allocations: 3.938 kB / 381.6 MB, free: 41.84 MB / 298.7 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.0007748/0.2167, allocations: 0.614 MB / 382.2 MB, free: 41.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2167, allocations: 13.47 kB / 382.2 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.2168, allocations: 46.78 kB / 382.2 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.217, allocations: 286 kB / 382.5 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.2171, allocations: 30.34 kB / 382.5 MB, free: 40.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.2172, allocations: 39.53 kB / 382.6 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.2178, allocations: 452.1 kB / 383 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2179, allocations: 0 / 383 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.2179, allocations: 20.81 kB / 383 MB, free: 40.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.2179, allocations: 10.03 kB / 383 MB, free: 40.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.2184, allocations: 282.3 kB / 383.3 MB, free: 40.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.22, allocations: 1.314 MB / 384.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.2204, allocations: 247.7 kB / 384.9 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.2207, allocations: 192.8 kB / 385.1 MB, free: 39.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2208, allocations: 2.625 kB / 385.1 MB, free: 39.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.2208, allocations: 41.22 kB / 385.1 MB, free: 39.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.313e-06/0.2208, allocations: 5.406 kB / 385.1 MB, free: 39.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001267/0.2221, allocations: 0.5454 MB / 385.7 MB, free: 38.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.2221, allocations: 242.7 kB / 385.9 MB, free: 38.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.2223, allocations: 208.8 kB / 386.1 MB, free: 38.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2223, allocations: 30.8 kB / 386.1 MB, free: 38.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.2224, allocations: 203.9 kB / 386.3 MB, free: 38.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.2225, allocations: 98.42 kB / 386.4 MB, free: 38.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.2225, allocations: 8.969 kB / 386.4 MB, free: 38.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.2225, allocations: 336.1 kB / 386.8 MB, free: 37.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.2227, allocations: 72.22 kB / 386.8 MB, free: 37.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2229, allocations: 164.8 kB / 387 MB, free: 37.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.2237, allocations: 376.9 kB / 387.4 MB, free: 37.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2237, allocations: 0 / 387.4 MB, free: 37.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003498/0.224, allocations: 284.9 kB / 387.6 MB, free: 37.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2241, allocations: 4 kB / 387.6 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2241, allocations: 4 kB / 387.6 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2241, allocations: 0 / 387.6 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.2244, allocations: 75.89 kB / 387.7 MB, free: 36.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2244, allocations: 8.062 kB / 387.7 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.2245, allocations: 31.69 kB / 387.8 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.2246, allocations: 15.98 kB / 387.8 MB, free: 36.92 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: L2.iinternal:VARIABLE(unit = "A" fixed = true ) type: Real L3.iinternal:VARIABLE(unit = "A" fixed = true ) 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.0001842/0.2247, allocations: 149.8 kB / 387.9 MB, free: 36.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.2248, allocations: 27.69 kB / 387.9 MB, free: 36.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.2249, allocations: 30.64 kB / 388 MB, free: 36.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2249, allocations: 12 kB / 388 MB, free: 36.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.2249, allocations: 4 kB / 388 MB, free: 36.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2249, allocations: 0 / 388 MB, free: 36.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000777/0.2257, allocations: 0.776 MB / 388.8 MB, free: 35.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2257, allocations: 0 / 388.8 MB, free: 35.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.2259, allocations: 55.94 kB / 388.8 MB, free: 35.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.2262, allocations: 92.73 kB / 388.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2262, allocations: 8 kB / 388.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.2275, allocations: 1.823 MB / 390.7 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2275, allocations: 0 / 390.7 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.2281, allocations: 0.5125 MB / 391.3 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.2281, allocations: 100.8 kB / 391.4 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.2282, allocations: 8.062 kB / 391.4 MB, free: 33.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2283, allocations: 23.95 kB / 391.4 MB, free: 33.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.2284, allocations: 23.97 kB / 391.4 MB, free: 33.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2284, allocations: 12 kB / 391.4 MB, free: 33.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.445e-05/0.2285, allocations: 144.6 kB / 391.6 MB, free: 32.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2285, allocations: 0 / 391.6 MB, free: 32.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.2288, allocations: 115.5 kB / 391.7 MB, free: 32.77 MB / 298.7 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.0001024/0.2289, allocations: 107.2 kB / 391.8 MB, free: 32.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2293, allocations: 215.8 kB / 392 MB, free: 32.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2293, allocations: 0 / 392 MB, free: 32.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.2296, allocations: 282.4 kB / 392.3 MB, free: 32.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.2299, allocations: 23.94 kB / 392.3 MB, free: 32.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.231, allocations: 1.099 MB / 393.4 MB, free: 31.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.2311, allocations: 0.7831 MB / 394.2 MB, free: 30.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.339e-05/0.2312, allocations: 29.92 kB / 394.2 MB, free: 30.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.2313, allocations: 19.44 kB / 394.2 MB, free: 30.14 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2313, allocations: 0 / 394.2 MB, free: 30.14 MB / 298.7 MB Notification: Performance of Templates: time 0.004946/0.2362, allocations: 2.671 MB / 396.9 MB, free: 27.48 MB / 298.7 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","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches