Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001648/0.001648, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001489/0.001489, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2299/0.2299, allocations: 46.97 MB / 361.7 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 63.91 kB / 0.4968 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3358, allocations: 66.02 MB / 0.5613 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004521/0.3403, allocations: 2.436 MB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3416, allocations: 0.6311 MB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.3417, allocations: 7.938 kB / 0.5643 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.3419, allocations: 35.64 kB / 0.5644 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.342, allocations: 79.33 kB / 0.5644 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.3424, allocations: 79.83 kB / 0.5645 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.3428, allocations: 294.6 kB / 0.5648 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.343, allocations: 74.38 kB / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.3432, allocations: 119.6 kB / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3434, allocations: 115.5 kB / 0.5651 GB, free: 264 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.3435, allocations: 24 kB / 0.5651 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.3435, allocations: 24 kB / 0.5651 GB, free: 216 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.3436, allocations: 67.75 kB / 0.5652 GB, free: 148 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.3437, allocations: 99.53 kB / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.3441, allocations: 290.8 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3441, allocations: 0 / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3441, allocations: 0 / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.3441, allocations: 3.938 kB / 0.5656 GB, free: 15.76 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.0009088/0.3451, allocations: 473.5 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3451, allocations: 16.03 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.403e-05/0.3451, allocations: 4.625 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.309e-05/0.3452, allocations: 58.73 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.3454, allocations: 36.78 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.3457, allocations: 194.1 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.3458, allocations: 16.81 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.3458, allocations: 20.38 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.3463, allocations: 268.3 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3463, allocations: 7.938 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.3463, allocations: 15.94 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.3463, allocations: 4 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.3466, allocations: 137.7 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.348, allocations: 0.7212 MB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.3482, allocations: 94.48 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3483, allocations: 40.84 kB / 0.5676 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3483, allocations: 0 / 0.5676 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.3484, allocations: 34.56 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.3484, allocations: 0 / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001879/0.3502, allocations: 0.6505 MB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3503, allocations: 55.41 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.3505, allocations: 210.9 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3505, allocations: 29.7 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3507, allocations: 176.2 kB / 0.5687 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.3508, allocations: 51.53 kB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.3508, allocations: 49.66 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.351, allocations: 330.8 kB / 0.5691 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.3512, allocations: 59.97 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3513, allocations: 113 kB / 0.5693 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.3517, allocations: 171.8 kB / 0.5695 GB, free: 11.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3517, allocations: 0 / 0.5695 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005489/0.3522, allocations: 279 kB / 0.5697 GB, free: 11.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3522, allocations: 8 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3522, allocations: 3.938 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.3525, allocations: 81.66 kB / 0.5698 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3526, allocations: 31.92 kB / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.3553, allocations: 2.795 MB / 0.5726 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.3555, allocations: 12.17 kB / 0.5726 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3555, allocations: 8 kB / 0.5726 GB, free: 8.012 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.0001742/0.3557, allocations: 141.9 kB / 0.5727 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.3557, allocations: 20.05 kB / 0.5728 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.3558, allocations: 29.78 kB / 0.5728 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3558, allocations: 0 / 0.5728 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3558, allocations: 7.938 kB / 0.5728 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3558, allocations: 0 / 0.5728 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.3561, allocations: 236.6 kB / 0.573 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3561, allocations: 0 / 0.573 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-05/0.3562, allocations: 19.92 kB / 0.573 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.3564, allocations: 69.67 kB / 0.5731 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3564, allocations: 0 / 0.5731 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.359, allocations: 2.786 MB / 0.5758 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.359, allocations: 4.125 kB / 0.5758 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.3597, allocations: 395.8 kB / 0.5762 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.3597, allocations: 15.92 kB / 0.5762 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.3597, allocations: 8 kB / 0.5762 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3599, allocations: 15.98 kB / 0.5762 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.36, allocations: 20.03 kB / 0.5763 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.36, allocations: 4 kB / 0.5763 GB, free: 3.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3601, allocations: 148.6 kB / 0.5764 GB, free: 3.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3601, allocations: 0 / 0.5764 GB, free: 3.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003776/0.3605, allocations: 64 kB / 0.5765 GB, free: 3.746 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.0009985/0.3615, allocations: 0.9286 MB / 0.5774 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007047/0.3622, allocations: 393.2 kB / 0.5777 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3622, allocations: 0 / 0.5777 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.3627, allocations: 325.5 kB / 0.5781 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.363, allocations: 26.64 kB / 0.5781 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.3666, allocations: 2.501 MB / 0.5805 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.3668, allocations: 146 kB / 0.5807 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.485e-05/0.3669, allocations: 17.95 kB / 0.5807 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.367, allocations: 71.34 kB / 0.5808 GB, free: 15.14 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.367, allocations: 0 / 0.5808 GB, free: 15.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.4022, allocations: 5.488 MB / 0.5861 GB, free: 9.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.39, allocations: 3.234 kB / 0.5861 GB, free: 9.836 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 15.510586639982648]