Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 110.3 kB / 17.75 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.001797/0.001797, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 47.92 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2377, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004493/0.2422, allocations: 4.083 MB / 405.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2435, allocations: 0.8723 MB / 406.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.2437, allocations: 8 kB / 406.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.2439, allocations: 91.08 kB / 406.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.2443, allocations: 194.4 kB / 406.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.2446, allocations: 143.8 kB / 406.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.2451, allocations: 0.6655 MB / 407.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003469/0.2455, allocations: 203 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.2458, allocations: 262.9 kB / 408 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.2461, allocations: 290.6 kB / 408.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.772e-05/0.2462, allocations: 60 kB / 408.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.2463, allocations: 59.94 kB / 408.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2464, allocations: 131.5 kB / 408.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.2466, allocations: 298.5 kB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.2473, allocations: 0.6433 MB / 409.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2473, allocations: 0 / 409.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2473, allocations: 0 / 409.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2473, allocations: 0 / 409.4 MB, free: 0.8164 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001388/0.2487, allocations: 0.8612 MB / 410.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2487, allocations: 11.89 kB / 410.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2489, allocations: 68.12 kB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.2494, allocations: 371.6 kB / 410.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.2495, allocations: 37.38 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.2495, allocations: 48.38 kB / 410.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.2503, allocations: 479.5 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2504, allocations: 0 / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.2504, allocations: 28 kB / 411.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2504, allocations: 12 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.2511, allocations: 336.3 kB / 411.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.2537, allocations: 1.67 MB / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.2541, allocations: 273.1 kB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.2544, allocations: 141.9 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2544, allocations: 4 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.2545, allocations: 38.5 kB / 413.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.956e-06/0.2545, allocations: 11.94 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001924/0.2564, allocations: 0.9438 MB / 414.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2565, allocations: 81.11 kB / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.2569, allocations: 385.6 kB / 415.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.2569, allocations: 33.7 kB / 415.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2571, allocations: 283.5 kB / 415.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/0.2571, allocations: 114.4 kB / 415.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2573, allocations: 70.14 kB / 415.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2574, allocations: 358.7 kB / 416 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.2576, allocations: 96.83 kB / 416.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.2579, allocations: 194.6 kB / 416.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.2583, allocations: 309.7 kB / 416.6 MB, free: 9.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2583, allocations: 0 / 416.6 MB, free: 9.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008137/0.2591, allocations: 457.1 kB / 417 MB, free: 8.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2592, allocations: 4 kB / 417 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2592, allocations: 4 kB / 417 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.2595, allocations: 89.69 kB / 417.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.2599, allocations: 79.89 kB / 417.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.2624, allocations: 3.127 MB / 420.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.2627, allocations: 19.91 kB / 420.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.2627, allocations: 20.06 kB / 420.4 MB, free: 5.117 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.2629, allocations: 161.7 kB / 420.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.263, allocations: 39.53 kB / 420.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.324e-05/0.2631, allocations: 51.44 kB / 420.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2631, allocations: 4 kB / 420.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2631, allocations: 0 / 420.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.2632, allocations: 116.5 kB / 420.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.2632, allocations: 12 kB / 420.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.2636, allocations: 31.97 kB / 420.8 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.2637, allocations: 19.97 kB / 420.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009518/0.2646, allocations: 0.4898 MB / 421.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008175/0.2655, allocations: 0.6576 MB / 422 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001868/0.2657, allocations: 99.94 kB / 422 MB, free: 3.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000267/0.2659, allocations: 275.1 kB / 422.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.266, allocations: 4 kB / 422.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.2671, allocations: 0.5151 MB / 422.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of SimCode: time 0.001534/0.2686, allocations: 1.391 MB / 424.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of Templates: time 0.009189/0.2778, allocations: 5.107 MB / 429.3 MB, free: 12.05 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches