Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 188.5 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 47.92 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2247, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006537/0.2312, allocations: 5.007 MB / 428.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.2343, allocations: 1.694 MB / 430.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.2346, allocations: 20 kB / 430.1 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.2379, allocations: 1.504 MB / 431.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.2397, allocations: 0.7207 MB / 432.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.2404, allocations: 275.2 kB / 432.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009399/0.2413, allocations: 0.8094 MB / 433.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.2425, allocations: 0.751 MB / 434.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.243, allocations: 366.6 kB / 434.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.2436, allocations: 498.2 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.2437, allocations: 79.94 kB / 435 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.2443, allocations: 231.9 kB / 435.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.2444, allocations: 187.3 kB / 435.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.2447, allocations: 346.4 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.2461, allocations: 1.17 MB / 437 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2461, allocations: 0 / 437 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2461, allocations: 0 / 437 MB, free: 0.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.2461, allocations: 4 kB / 437 MB, free: 0.7031 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003175/0.2493, allocations: 1.304 MB / 438.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2493, allocations: 8.031 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.967e-05/0.2494, allocations: 26.19 kB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.2495, allocations: 144.3 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/0.2541, allocations: 0.6482 MB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.2549, allocations: 365.3 kB / 439.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.2549, allocations: 74.38 kB / 439.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.2551, allocations: 100.3 kB / 439.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.2569, allocations: 1.015 MB / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.2569, allocations: 0 / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.257, allocations: 40 kB / 440.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.257, allocations: 24 kB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.2586, allocations: 0.9213 MB / 441.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.2629, allocations: 2.901 MB / 444.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.2646, allocations: 0.7443 MB / 445.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.265, allocations: 262.1 kB / 445.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.132e-05/0.2651, allocations: 16.66 kB / 445.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.2651, allocations: 47.14 kB / 445.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.444e-06/0.2651, allocations: 0 / 445.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001358/0.2665, allocations: 0.7163 MB / 446.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.2666, allocations: 115.4 kB / 446.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.2669, allocations: 278 kB / 446.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.2669, allocations: 37.7 kB / 446.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.2671, allocations: 392 kB / 447.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.2673, allocations: 238 kB / 447.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.2675, allocations: 130.6 kB / 447.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2677, allocations: 350.8 kB / 447.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.2681, allocations: 221.9 kB / 448 MB, free: 5.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.2686, allocations: 435.4 kB / 448.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/0.2696, allocations: 0.7008 MB / 449.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2696, allocations: 0 / 449.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001208/0.2708, allocations: 0.7503 MB / 449.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2708, allocations: 8 kB / 449.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.2708, allocations: 8.844 kB / 449.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.2708, allocations: 8 kB / 449.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.2715, allocations: 195.7 kB / 450.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.2715, allocations: 19.92 kB / 450.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.2719, allocations: 75.47 kB / 450.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.2719, allocations: 31.98 kB / 450.2 MB, free: 2.914 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0002598/0.2722, allocations: 221.6 kB / 450.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2723, allocations: 47.66 kB / 450.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.2734, allocations: 0.6462 MB / 451.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2734, allocations: 4 kB / 451.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2735, allocations: 8 kB / 451.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.2735, allocations: 3.984 kB / 451.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.2756, allocations: 1.369 MB / 452.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2756, allocations: 3.938 kB / 452.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.2762, allocations: 143.8 kB / 452.7 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.2762, allocations: 4 kB / 452.7 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.2762, allocations: 19.94 kB / 452.7 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.2762, allocations: 8 kB / 452.7 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2762, allocations: 0 / 452.7 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.2778, allocations: 1.116 MB / 453.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.2778, allocations: 51.56 kB / 453.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.2779, allocations: 23.92 kB / 453.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.2782, allocations: 20.06 kB / 453.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.2783, allocations: 52.55 kB / 454 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.2784, allocations: 19.94 kB / 454 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.2785, allocations: 185.2 kB / 454.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2785, allocations: 0 / 454.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006777/0.2792, allocations: 223.4 kB / 454.4 MB, free: 14.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * 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 Backend phase and start with SimCode phase: time 0.001959/0.2812, allocations: 1.714 MB / 456.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.2822, allocations: 0.5676 MB / 456.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2822, allocations: 5.75 kB / 456.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.2826, allocations: 263.6 kB / 456.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.2831, allocations: 44.61 kB / 457 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/0.2892, allocations: 4.831 MB / 461.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2895, allocations: 311.7 kB / 462.1 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002892/0.2898, allocations: 80.38 kB / 462.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.2902, allocations: 259.3 kB / 462.4 MB, free: 6.305 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2902, allocations: 0 / 462.4 MB, free: 6.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.3237, allocations: 10.02 MB / 472.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.5, allocations: 10.23 kB / 472.5 MB, free: 12.46 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.188974214019254]