Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001576/0.001576, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.00181/0.00181, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001023, allocations: 43.94 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2339, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003449/0.2374, allocations: 2.833 MB / 404.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2385, allocations: 0.7127 MB / 405 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.2387, allocations: 8 kB / 405 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.2388, allocations: 59.36 kB / 405 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.239, allocations: 99.06 kB / 405.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2393, allocations: 123.8 kB / 405.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.2397, allocations: 446.8 kB / 405.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.24, allocations: 228.9 kB / 405.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.2402, allocations: 179.4 kB / 406.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.2405, allocations: 203.1 kB / 406.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.2405, allocations: 48 kB / 406.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.927e-05/0.2406, allocations: 44 kB / 406.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.2407, allocations: 107.7 kB / 406.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.2409, allocations: 215 kB / 406.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.2413, allocations: 499.4 kB / 407.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2413, allocations: 0 / 407.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2413, allocations: 0 / 407.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2413, allocations: 0 / 407.2 MB, free: 3.113 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.001021/0.2424, allocations: 0.6904 MB / 407.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2424, allocations: 11.89 kB / 407.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.222e-05/0.2425, allocations: 56.25 kB / 407.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2428, allocations: 277.1 kB / 408.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.2428, allocations: 33.38 kB / 408.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.2429, allocations: 44.36 kB / 408.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.2436, allocations: 455.6 kB / 408.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2436, allocations: 0 / 408.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.2436, allocations: 16 kB / 408.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2437, allocations: 12 kB / 408.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.2442, allocations: 283.9 kB / 409 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.2459, allocations: 1.306 MB / 410.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.2463, allocations: 244 kB / 410.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.2467, allocations: 196.8 kB / 410.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2467, allocations: 4.5 kB / 410.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2467, allocations: 34.56 kB / 410.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.2468, allocations: 0 / 410.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001321/0.2481, allocations: 0.5457 MB / 411.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/0.2482, allocations: 235.3 kB / 411.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.2484, allocations: 207 kB / 411.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2484, allocations: 33.7 kB / 411.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.2485, allocations: 200.2 kB / 412 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/0.2486, allocations: 106.5 kB / 412.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.2487, allocations: 65.55 kB / 412.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2488, allocations: 338.8 kB / 412.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.249, allocations: 75.95 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.2492, allocations: 169.2 kB / 412.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.2495, allocations: 191.5 kB / 412.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2495, allocations: 0 / 412.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004289/0.2499, allocations: 284.8 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.25, allocations: 8.062 kB / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.25, allocations: 0 / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.25, allocations: 4 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.2503, allocations: 79.89 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2504, allocations: 0 / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.2505, allocations: 31.62 kB / 413.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2506, allocations: 12 kB / 413.3 MB, free: 12.54 MB / 334.1 MB 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.0001488/0.2507, allocations: 153.8 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.2508, allocations: 31.73 kB / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.2509, allocations: 26.66 kB / 413.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2509, allocations: 3.984 kB / 413.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2509, allocations: 3.938 kB / 413.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.2509, allocations: 104.8 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.251, allocations: 4 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2512, allocations: 15.98 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.2512, allocations: 19.97 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009057/0.2521, allocations: 430.3 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006355/0.2528, allocations: 0.5227 MB / 414.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000164/0.253, allocations: 87.95 kB / 414.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.2531, allocations: 152.6 kB / 414.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.2531, allocations: 0 / 414.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000608/0.2537, allocations: 218.3 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of SimCode: time 0.001614/0.2554, allocations: 1.342 MB / 416.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of Templates: time 0.006902/0.2623, allocations: 3.198 MB / 419.6 MB, free: 6.141 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches