Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 63.89 kB / 377.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.252, allocations: 53.4 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005382/0.2574, allocations: 3.716 MB / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.2596, allocations: 0.923 MB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.2599, allocations: 15.94 kB / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.2602, allocations: 99 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.2606, allocations: 190.4 kB / 436.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.2611, allocations: 159.7 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000737/0.2618, allocations: 0.6732 MB / 436.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.2622, allocations: 133.4 kB / 437.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.2626, allocations: 274.9 kB / 437.3 MB, free: 244 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.2629, allocations: 254.7 kB / 437.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.651e-05/0.263, allocations: 56 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.2632, allocations: 56 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.2633, allocations: 139.4 kB / 437.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.2635, allocations: 250.8 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.2642, allocations: 0.6573 MB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2642, allocations: 0 / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2642, allocations: 0 / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.2642, allocations: 0 / 438.7 MB, free: 14.84 MB / 350.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.001454/0.2657, allocations: 0.8047 MB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2657, allocations: 11.98 kB / 439.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.2659, allocations: 104 kB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002906/0.2662, allocations: 88.5 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.2668, allocations: 330 kB / 440.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.2669, allocations: 37.69 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.2669, allocations: 60.31 kB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/0.2679, allocations: 0.6462 MB / 440.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2679, allocations: 4 kB / 440.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.2679, allocations: 20 kB / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.2679, allocations: 12 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.2686, allocations: 344.4 kB / 441.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.2712, allocations: 1.549 MB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.2717, allocations: 249 kB / 443 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.2719, allocations: 145.2 kB / 443.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.272, allocations: 4 kB / 443.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.272, allocations: 42.5 kB / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.272, allocations: 4 kB / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001929/0.2739, allocations: 0.8159 MB / 444 MB, free: 9.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.274, allocations: 89.05 kB / 444.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.2744, allocations: 397.5 kB / 444.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.2745, allocations: 33.7 kB / 444.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.2747, allocations: 300.1 kB / 444.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.2748, allocations: 119 kB / 444.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.2749, allocations: 74.09 kB / 445 MB, free: 8.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2751, allocations: 350.8 kB / 445.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.2753, allocations: 100.8 kB / 445.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.2756, allocations: 190.6 kB / 445.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.2761, allocations: 308.2 kB / 445.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2761, allocations: 4 kB / 445.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008802/0.277, allocations: 450.5 kB / 446.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.277, allocations: 8 kB / 446.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.277, allocations: 4.312 kB / 446.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.2773, allocations: 85.59 kB / 446.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.2776, allocations: 79.89 kB / 446.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/0.2804, allocations: 2.904 MB / 449.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.2807, allocations: 28.06 kB / 449.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.2807, allocations: 20.22 kB / 449.5 MB, free: 3.469 MB / 350.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.0002427/0.2809, allocations: 166.6 kB / 449.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.281, allocations: 43.7 kB / 449.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.2811, allocations: 51.39 kB / 449.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2811, allocations: 4 kB / 449.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2811, allocations: 0 / 449.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2811, allocations: 0 / 449.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.2826, allocations: 0.8796 MB / 450.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.2826, allocations: 4 kB / 450.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.2828, allocations: 43.86 kB / 450.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/0.2831, allocations: 81.64 kB / 450.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.2831, allocations: 11.98 kB / 450.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.2856, allocations: 2.916 MB / 453.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2856, allocations: 4.031 kB / 453.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/0.2866, allocations: 0.6029 MB / 454.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.606e-05/0.2867, allocations: 39.8 kB / 454.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.2868, allocations: 11.94 kB / 454.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.2871, allocations: 32.03 kB / 454.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.2872, allocations: 27.89 kB / 454.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.2872, allocations: 8 kB / 454.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.2875, allocations: 279.2 kB / 454.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2875, allocations: 0 / 454.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006074/0.2881, allocations: 120 kB / 454.8 MB, free: 13.84 MB / 366.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.001268/0.2894, allocations: 1.17 MB / 455.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009721/0.2903, allocations: 0.5034 MB / 456.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2903, allocations: 0 / 456.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006422/0.291, allocations: 369.2 kB / 456.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.2916, allocations: 61.84 kB / 456.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.2979, allocations: 4.221 MB / 461.1 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2982, allocations: 250.2 kB / 461.3 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.2985, allocations: 43.28 kB / 461.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.2987, allocations: 171.4 kB / 461.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of SimCode: time 2.114e-06/0.2987, allocations: 4 kB / 461.5 MB, free: 6.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06185/0.3606, allocations: 9.984 MB / 471.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.65, allocations: 19.17 kB / 471.5 MB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.471617915201932]