Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001685/0.001685, allocations: 108.5 kB / 21.18 MB, free: 0.5547 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.002017/0.002017, allocations: 208.3 kB / 24.49 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 56.34 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2786, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.00634/0.285, allocations: 5.928 MB / 402.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.2888, allocations: 1.917 MB / 404.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007653/0.2895, allocations: 19.31 kB / 404.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.293, allocations: 1.642 MB / 405.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.2951, allocations: 0.6754 MB / 406.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009128/0.296, allocations: 416.1 kB / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.2971, allocations: 0.8913 MB / 407.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.2983, allocations: 0.7906 MB / 408.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.2988, allocations: 399 kB / 409 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000622/0.2994, allocations: 0.5419 MB / 409.5 MB, free: 300 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.2996, allocations: 83.06 kB / 409.6 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006986/0.3003, allocations: 239.1 kB / 409.9 MB, free: 248 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3004, allocations: 208 kB / 410.1 MB, free: 100 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004829/0.3009, allocations: 469.9 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.3028, allocations: 1.236 MB / 411.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3028, allocations: 0 / 411.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3028, allocations: 1.062 kB / 411.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.3028, allocations: 0 / 411.8 MB, free: 15.27 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003664/0.3065, allocations: 1.385 MB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3065, allocations: 12.95 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.3068, allocations: 164.5 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007017/0.3138, allocations: 0.9612 MB / 414.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/0.3147, allocations: 398.4 kB / 414.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.3148, allocations: 82.36 kB / 414.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.315, allocations: 108.2 kB / 414.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.317, allocations: 1.135 MB / 416 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.317, allocations: 0 / 416 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.3171, allocations: 41.78 kB / 416 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.3172, allocations: 29.97 kB / 416.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.3192, allocations: 1.136 MB / 417.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.3249, allocations: 3.524 MB / 420.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.3271, allocations: 0.9276 MB / 421.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.3276, allocations: 274.7 kB / 421.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.3276, allocations: 16.95 kB / 421.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.3277, allocations: 50.81 kB / 422 MB, free: 8.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.115e-06/0.3277, allocations: 0 / 422 MB, free: 8.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001468/0.3291, allocations: 0.756 MB / 422.7 MB, free: 8.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.3292, allocations: 111.3 kB / 422.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.3296, allocations: 332.7 kB / 423.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.3297, allocations: 40.45 kB / 423.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.33, allocations: 454.4 kB / 423.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.3302, allocations: 261.1 kB / 423.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.3304, allocations: 175.1 kB / 424.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3306, allocations: 352.9 kB / 424.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/0.3311, allocations: 245.9 kB / 424.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/0.3319, allocations: 0.5681 MB / 425.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.3332, allocations: 0.8758 MB / 426.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.3332, allocations: 4 kB / 426.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001556/0.3348, allocations: 0.8953 MB / 427 MB, free: 3.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3348, allocations: 8 kB / 427 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.3348, allocations: 15.94 kB / 427 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.3348, allocations: 16 kB / 427 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008425/0.3357, allocations: 236.2 kB / 427.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.3357, allocations: 23.94 kB / 427.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.3362, allocations: 111.2 kB / 427.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.3363, allocations: 44 kB / 427.5 MB, free: 3.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0003668/0.3367, allocations: 241.5 kB / 427.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.3368, allocations: 51.66 kB / 427.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3381, allocations: 0.6784 MB / 428.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3381, allocations: 8 kB / 428.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3381, allocations: 0 / 428.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.3381, allocations: 11.98 kB / 428.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.3407, allocations: 1.549 MB / 430 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3407, allocations: 0 / 430 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.3413, allocations: 147.8 kB / 430.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.3413, allocations: 8 kB / 430.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.3414, allocations: 19.92 kB / 430.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.3414, allocations: 4 kB / 430.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3414, allocations: 0 / 430.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.3431, allocations: 1.174 MB / 431.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3432, allocations: 55.58 kB / 431.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.3433, allocations: 16 kB / 431.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.3436, allocations: 19.98 kB / 431.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3438, allocations: 52.55 kB / 431.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.3438, allocations: 28 kB / 431.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.344, allocations: 207.1 kB / 431.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.344, allocations: 4.062 kB / 431.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008986/0.3449, allocations: 247.3 kB / 431.9 MB, free: 14.96 MB / 350.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 (78): * Single equations (assignments): 78 * 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.002236/0.3472, allocations: 1.757 MB / 433.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.3485, allocations: 0.6483 MB / 434.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3485, allocations: 4.062 kB / 434.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.349, allocations: 287.6 kB / 434.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.3496, allocations: 49.02 kB / 434.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008004/0.3576, allocations: 5.544 MB / 440.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.3582, allocations: 0.9281 MB / 441.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003421/0.3585, allocations: 96.88 kB / 441.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.359, allocations: 283.3 kB / 441.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of SimCode: time 5.92e-07/0.359, allocations: 0 / 441.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04336/0.4023, allocations: 11.29 MB / 452.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.52, allocations: 11.89 kB / 452.8 MB, free: 9.59 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 15.233225577045232]