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.001649/0.001649, allocations: 108.2 kB / 17.74 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.001825/0.001825, allocations: 183.1 kB / 18.67 MB, free: 4.441 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 51.91 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2322, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004653/0.2369, allocations: 4.077 MB / 405.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2384, allocations: 0.8724 MB / 406.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.2386, allocations: 11.94 kB / 406.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.2389, allocations: 95.08 kB / 406.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.2393, allocations: 174.4 kB / 406.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.2396, allocations: 151.7 kB / 406.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.2402, allocations: 0.6655 MB / 407.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.2405, allocations: 203 kB / 407.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.2408, allocations: 263 kB / 407.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.2412, allocations: 286.7 kB / 408.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.977e-05/0.2413, allocations: 56 kB / 408.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.2413, allocations: 56 kB / 408.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.2415, allocations: 135.5 kB / 408.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.2417, allocations: 302.5 kB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.2423, allocations: 0.6433 MB / 409.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2423, allocations: 0 / 409.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2423, allocations: 0 / 409.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.2423, allocations: 3.938 kB / 409.4 MB, free: 0.8555 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.2437, allocations: 0.8535 MB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2438, allocations: 15.89 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.2439, allocations: 64.19 kB / 410.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.2444, allocations: 375.6 kB / 410.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.2444, allocations: 37.38 kB / 410.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.2445, allocations: 48.38 kB / 410.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.2453, allocations: 479.5 kB / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2453, allocations: 0 / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.2453, allocations: 23.94 kB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.2453, allocations: 12 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.2459, allocations: 332.3 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.2485, allocations: 1.677 MB / 413.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.2489, allocations: 265.1 kB / 413.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.2492, allocations: 141.9 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2492, allocations: 11.94 kB / 413.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.2492, allocations: 30.56 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 3.216e-06/0.2492, allocations: 3.984 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001797/0.2511, allocations: 0.9455 MB / 414.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.2511, allocations: 85.11 kB / 414.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.2515, allocations: 389.5 kB / 415.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.2516, allocations: 37.7 kB / 415.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.2517, allocations: 283.5 kB / 415.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/0.2518, allocations: 114.4 kB / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2519, allocations: 70.14 kB / 415.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2521, allocations: 354.7 kB / 416 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.2523, allocations: 96.83 kB / 416.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.2525, allocations: 190.6 kB / 416.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.253, allocations: 315.5 kB / 416.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.253, allocations: 0 / 416.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000789/0.2538, allocations: 459.4 kB / 417 MB, free: 8.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2538, allocations: 4 kB / 417 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2538, allocations: 7.984 kB / 417 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/0.2542, allocations: 81.81 kB / 417.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.2545, allocations: 75.89 kB / 417.2 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.2569, allocations: 3.123 MB / 420.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.2572, allocations: 23.89 kB / 420.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.2573, allocations: 16 kB / 420.4 MB, free: 5.176 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.0002028/0.2575, allocations: 165.7 kB / 420.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/0.2576, allocations: 47.47 kB / 420.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.886e-05/0.2576, allocations: 43.64 kB / 420.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2577, allocations: 4 kB / 420.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.2577, allocations: 11.94 kB / 420.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2577, allocations: 0 / 420.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.259, allocations: 0.9325 MB / 421.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.259, allocations: 0 / 421.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.2592, allocations: 51.91 kB / 421.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002663/0.2595, allocations: 85.62 kB / 421.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.2596, allocations: 7.938 kB / 421.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.2619, allocations: 3.127 MB / 424.8 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.2619, allocations: 0 / 424.8 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008939/0.2628, allocations: 0.6132 MB / 425.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2629, allocations: 120.6 kB / 425.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.263, allocations: 11.94 kB / 425.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.2633, allocations: 27.98 kB / 425.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.2634, allocations: 23.97 kB / 425.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.2634, allocations: 15.98 kB / 425.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002808/0.2637, allocations: 271.1 kB / 425.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2637, allocations: 4 kB / 425.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005785/0.2643, allocations: 116 kB / 426 MB, free: 15.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0001331/0.2645, allocations: 111.2 kB / 426.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009144/0.2654, allocations: 0.513 MB / 426.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2654, allocations: 0 / 426.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.266, allocations: 391.2 kB / 427 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.2665, allocations: 65.86 kB / 427.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.2681, allocations: 0.9794 MB / 428.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.2686, allocations: 0.8353 MB / 428.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2687, allocations: 35.42 kB / 428.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2687, allocations: 0 / 428.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Templates: time 0.0111/0.2798, allocations: 8.903 MB / 437.8 MB, free: 3.176 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