Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.001301/0.001301, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001392/0.001392, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.384/1.384, allocations: 230.5 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.96 MB / 361.6 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 79.88 kB / 0.4969 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3071, allocations: 66.09 MB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003783/0.3108, allocations: 2.419 MB / 0.5638 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3119, allocations: 0.6311 MB / 0.5644 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.312, allocations: 7.938 kB / 0.5644 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.3122, allocations: 43.58 kB / 0.5644 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.3123, allocations: 71.33 kB / 0.5645 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3125, allocations: 79.84 kB / 0.5646 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.3129, allocations: 294.7 kB / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.313, allocations: 70.39 kB / 0.5649 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.3133, allocations: 127.5 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.3134, allocations: 115.5 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.3135, allocations: 24 kB / 0.5652 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.3135, allocations: 24 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.3136, allocations: 51.83 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3137, allocations: 119.5 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.314, allocations: 286.8 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.314, allocations: 4 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.314, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.314, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000755/0.3148, allocations: 473.5 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3148, allocations: 12.03 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.688e-05/0.3149, allocations: 8.625 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.3149, allocations: 58.72 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.3151, allocations: 32.8 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.3154, allocations: 198.1 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3154, allocations: 20.75 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.3154, allocations: 20.38 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.3158, allocations: 272.3 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3159, allocations: 0 / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.3159, allocations: 16 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3159, allocations: 4 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.3162, allocations: 141.7 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3174, allocations: 0.7173 MB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.3176, allocations: 102.5 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.3177, allocations: 40.84 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.3177, allocations: 0 / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3177, allocations: 38.56 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.3177, allocations: 0 / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001712/0.3194, allocations: 0.6426 MB / 0.5684 GB, free: 12.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3195, allocations: 59.41 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.3197, allocations: 210.9 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3197, allocations: 29.7 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3198, allocations: 176.2 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.3199, allocations: 55.52 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.32, allocations: 45.66 kB / 0.5689 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3201, allocations: 334.8 kB / 0.5692 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3202, allocations: 59.97 kB / 0.5693 GB, free: 11.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3204, allocations: 112.9 kB / 0.5694 GB, free: 11.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.3207, allocations: 175.8 kB / 0.5696 GB, free: 11.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3207, allocations: 0 / 0.5696 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005211/0.3212, allocations: 279.1 kB / 0.5698 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3212, allocations: 10.69 kB / 0.5698 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3212, allocations: 0 / 0.5698 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.3215, allocations: 69.67 kB / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.3217, allocations: 35.91 kB / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.3241, allocations: 2.798 MB / 0.5727 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.3242, allocations: 11.98 kB / 0.5727 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3242, allocations: 8 kB / 0.5727 GB, free: 7.922 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.3244, allocations: 137.8 kB / 0.5728 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.3244, allocations: 23.91 kB / 0.5728 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.3245, allocations: 25.8 kB / 0.5729 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3245, allocations: 0 / 0.5729 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.3245, allocations: 4 kB / 0.5729 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3245, allocations: 0 / 0.5729 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.3248, allocations: 240.5 kB / 0.5731 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3248, allocations: 0 / 0.5731 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.3249, allocations: 15.98 kB / 0.5731 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/0.3251, allocations: 69.67 kB / 0.5732 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3251, allocations: 7.984 kB / 0.5732 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.3275, allocations: 2.78 MB / 0.5759 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3275, allocations: 0 / 0.5759 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.3281, allocations: 398.6 kB / 0.5763 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.3281, allocations: 19.92 kB / 0.5763 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3282, allocations: 0 / 0.5763 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3283, allocations: 19.98 kB / 0.5763 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.3284, allocations: 15.97 kB / 0.5763 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3284, allocations: 8.062 kB / 0.5763 GB, free: 3.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3286, allocations: 156.5 kB / 0.5765 GB, free: 3.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3286, allocations: 0 / 0.5765 GB, free: 3.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.3289, allocations: 60 kB / 0.5766 GB, free: 3.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009099/0.3298, allocations: 0.9247 MB / 0.5775 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006951/0.3305, allocations: 400.3 kB / 0.5778 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3305, allocations: 0 / 0.5778 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.3309, allocations: 325.5 kB / 0.5781 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3313, allocations: 32.19 kB / 0.5782 GB, free: 1.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.3345, allocations: 2.492 MB / 0.5806 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.3346, allocations: 138 kB / 0.5807 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.3347, allocations: 21.94 kB / 0.5808 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3348, allocations: 71.41 kB / 0.5808 GB, free: 15.04 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3348, allocations: 0 / 0.5808 GB, free: 15.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.368, allocations: 5.478 MB / 0.5862 GB, free: 9.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.47, allocations: 19.03 kB / 0.5862 GB, free: 9.699 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.412219680962153]