Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 210.3 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.244, allocations: 53.35 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007285/0.2513, allocations: 5.027 MB / 436.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.255, allocations: 1.76 MB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.2555, allocations: 19.94 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.2592, allocations: 1.5 MB / 439.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.2608, allocations: 0.5827 MB / 440 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008459/0.2616, allocations: 389.9 kB / 440.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009039/0.2625, allocations: 0.8055 MB / 441.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.2637, allocations: 0.7588 MB / 441.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.2642, allocations: 366.6 kB / 442.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.2648, allocations: 494.1 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.2649, allocations: 80 kB / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.2653, allocations: 235.9 kB / 443.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.2655, allocations: 187.3 kB / 443.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.2659, allocations: 342.4 kB / 443.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.2673, allocations: 1.185 MB / 444.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2673, allocations: 4 kB / 444.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2673, allocations: 0 / 444.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.2673, allocations: 0 / 444.8 MB, free: 8.859 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003187/0.2705, allocations: 1.3 MB / 446.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2705, allocations: 8.031 kB / 446.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.2707, allocations: 156.2 kB / 446.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.2753, allocations: 0.6209 MB / 446.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.2759, allocations: 360.1 kB / 447.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/0.276, allocations: 74.38 kB / 447.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.2762, allocations: 96.38 kB / 447.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.2781, allocations: 1.011 MB / 448.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.2781, allocations: 4 kB / 448.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.2782, allocations: 40 kB / 448.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.2783, allocations: 24 kB / 448.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.28, allocations: 0.929 MB / 449.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004735/0.2847, allocations: 2.905 MB / 452.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.2866, allocations: 0.7516 MB / 453 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.287, allocations: 252.5 kB / 453.3 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.2871, allocations: 28.62 kB / 453.3 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.2872, allocations: 51.08 kB / 453.4 MB, free: 8 kB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.304e-06/0.2872, allocations: 4 kB / 453.4 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001481/0.2887, allocations: 0.7203 MB / 454.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.2887, allocations: 115.5 kB / 454.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.2891, allocations: 285.6 kB / 454.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.2891, allocations: 37.64 kB / 454.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.2894, allocations: 388 kB / 454.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.2896, allocations: 233.9 kB / 455.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.2898, allocations: 146.8 kB / 455.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.29, allocations: 350.8 kB / 455.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.2904, allocations: 221.9 kB / 455.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.2911, allocations: 439.4 kB / 456.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.2921, allocations: 0.6969 MB / 456.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2921, allocations: 0 / 456.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001339/0.2935, allocations: 0.7587 MB / 457.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.2935, allocations: 11.94 kB / 457.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2935, allocations: 4 kB / 457.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.2935, allocations: 12 kB / 457.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.2943, allocations: 191.7 kB / 457.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.2943, allocations: 20.25 kB / 457.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.2947, allocations: 83.41 kB / 458 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.2948, allocations: 35.98 kB / 458 MB, free: 11.05 MB / 366.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.0003155/0.2951, allocations: 217.6 kB / 458.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2952, allocations: 43.7 kB / 458.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.2965, allocations: 0.6539 MB / 459 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.2965, allocations: 12 kB / 459 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2965, allocations: 0 / 459 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.2965, allocations: 3.984 kB / 459 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.2989, allocations: 1.373 MB / 460.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2989, allocations: 0 / 460.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.2995, allocations: 143.9 kB / 460.5 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2995, allocations: 3.938 kB / 460.5 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.2995, allocations: 20 kB / 460.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.2995, allocations: 11.88 kB / 460.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2995, allocations: 0 / 460.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.3013, allocations: 1.12 MB / 461.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/0.3013, allocations: 51.62 kB / 461.7 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/0.3014, allocations: 15.92 kB / 461.7 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.3018, allocations: 32 kB / 461.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.3019, allocations: 48.56 kB / 461.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.3019, allocations: 20 kB / 461.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.3021, allocations: 185.2 kB / 462 MB, free: 7.031 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3021, allocations: 3.938 kB / 462 MB, free: 7.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007848/0.3029, allocations: 227.3 kB / 462.2 MB, free: 6.805 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.002068/0.3049, allocations: 1.711 MB / 463.9 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.306, allocations: 0.5715 MB / 464.5 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.306, allocations: 1.75 kB / 464.5 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.3065, allocations: 275.6 kB / 464.8 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.3071, allocations: 44.61 kB / 464.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00708/0.3141, allocations: 4.843 MB / 469.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3145, allocations: 303.8 kB / 469.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000297/0.3148, allocations: 80.33 kB / 470 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.3151, allocations: 263.3 kB / 470.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3151, allocations: 0 / 470.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0446/0.3597, allocations: 10.54 MB / 480.8 MB, free: 4.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.21, allocations: 15.06 kB / 480.8 MB, free: 4.031 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.788428792002378]