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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 113.9 kB / 17.07 MB, free: 5.988 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.001383/0.001383, allocations: 197.3 kB / 18 MB, free: 5.066 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.412/1.412, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 47.92 kB / 350.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2383, allocations: 49.43 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005372/0.2437, allocations: 4.097 MB / 404.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2453, allocations: 0.8685 MB / 405.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.2455, allocations: 11.94 kB / 405.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.2458, allocations: 95.06 kB / 405.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.2461, allocations: 182.4 kB / 405.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.2465, allocations: 139.8 kB / 405.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007033/0.2472, allocations: 0.6693 MB / 406.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/0.2475, allocations: 207 kB / 406.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.2478, allocations: 259 kB / 406.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.2482, allocations: 298.6 kB / 407.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.2484, allocations: 55.98 kB / 407.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.2485, allocations: 56 kB / 407.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.2486, allocations: 123.5 kB / 407.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.2489, allocations: 302.5 kB / 407.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.2496, allocations: 0.6369 MB / 408.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2496, allocations: 0 / 408.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2496, allocations: 0 / 408.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.2496, allocations: 0 / 408.2 MB, free: 0.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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001503/0.2512, allocations: 0.8838 MB / 409.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2512, allocations: 8.031 kB / 409.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.2514, allocations: 111.8 kB / 409.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.2515, allocations: 76.45 kB / 409.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.252, allocations: 371.9 kB / 409.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.2521, allocations: 37.69 kB / 409.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/0.2522, allocations: 56.33 kB / 409.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.253, allocations: 0.4961 MB / 410.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2531, allocations: 3.938 kB / 410.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/0.2531, allocations: 24 kB / 410.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.2532, allocations: 16 kB / 410.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.2538, allocations: 336.7 kB / 410.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.2566, allocations: 1.721 MB / 412.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.2571, allocations: 257 kB / 412.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.2574, allocations: 148.3 kB / 412.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.2574, allocations: 11.98 kB / 412.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2574, allocations: 38.56 kB / 412.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.2575, allocations: 0 / 412.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001916/0.2594, allocations: 0.9703 MB / 413.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.2594, allocations: 85.05 kB / 413.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004387/0.2599, allocations: 385.6 kB / 414.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.2599, allocations: 33.7 kB / 414.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.2602, allocations: 300 kB / 414.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.2603, allocations: 130.9 kB / 414.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2604, allocations: 74.12 kB / 414.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2605, allocations: 346.8 kB / 415.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.2608, allocations: 96.83 kB / 415.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.2611, allocations: 198.6 kB / 415.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.2616, allocations: 305.8 kB / 415.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2616, allocations: 7.922 kB / 415.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008335/0.2624, allocations: 445.3 kB / 416.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2625, allocations: 4 kB / 416.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2625, allocations: 4.312 kB / 416.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/0.2628, allocations: 81.66 kB / 416.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.2631, allocations: 87.83 kB / 416.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.2659, allocations: 3.127 MB / 419.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.2662, allocations: 23.89 kB / 419.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.2662, allocations: 12.19 kB / 419.5 MB, free: 4.828 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.0002056/0.2664, allocations: 157.8 kB / 419.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.2665, allocations: 47.7 kB / 419.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.2666, allocations: 55.52 kB / 419.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2666, allocations: 4 kB / 419.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.2667, allocations: 0 / 419.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2667, allocations: 3.984 kB / 419.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.2681, allocations: 0.9507 MB / 420.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2681, allocations: 7.938 kB / 420.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.2683, allocations: 43.92 kB / 420.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.2686, allocations: 81.64 kB / 420.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.2687, allocations: 15.98 kB / 420.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/0.2713, allocations: 3.119 MB / 423.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2713, allocations: 4.031 kB / 423.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.2723, allocations: 0.6202 MB / 424.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.2724, allocations: 116.8 kB / 424.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.2725, allocations: 8 kB / 424.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.2728, allocations: 31.97 kB / 424.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.2729, allocations: 27.97 kB / 424.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.2729, allocations: 7.984 kB / 424.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.2732, allocations: 271.2 kB / 425 MB, free: 14.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2732, allocations: 0 / 425 MB, free: 14.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.2738, allocations: 116 kB / 425.1 MB, free: 14.75 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.001318/0.2751, allocations: 1.178 MB / 426.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009244/0.2761, allocations: 0.5037 MB / 426.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2761, allocations: 7.938 kB / 426.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.2767, allocations: 397.7 kB / 427.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.2772, allocations: 53.61 kB / 427.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005725/0.2829, allocations: 4.209 MB / 431.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.2836, allocations: 0.8392 MB / 432.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.2837, allocations: 47.28 kB / 432.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.284, allocations: 167.4 kB / 432.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.284, allocations: 4 kB / 432.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.3228, allocations: 8.973 MB / 441.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.35, allocations: 7.266 kB / 441.5 MB, free: 14.29 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > 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