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.001805/0.001805, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002602/0.002602, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2281/0.2281, allocations: 46.93 MB / 361.6 MB, free: 4.293 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.003132/0.003132, allocations: 63.91 kB / 0.4969 GB, free: 7.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3382, allocations: 66.04 MB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003828/0.342, allocations: 2.599 MB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3432, allocations: 0.6777 MB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3433, allocations: 7.938 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.3434, allocations: 43.64 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3436, allocations: 75.27 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.3438, allocations: 71.91 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.3442, allocations: 294.7 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3443, allocations: 70.38 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.3446, allocations: 127.6 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3447, allocations: 119.5 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.3448, allocations: 24 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.3448, allocations: 24 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.3449, allocations: 55.83 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.345, allocations: 127.3 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.3454, allocations: 286.8 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3454, allocations: 0 / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3454, allocations: 0 / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3454, allocations: 0 / 0.5659 GB, free: 15.86 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.0007709/0.3461, allocations: 481.5 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3462, allocations: 8.031 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.92e-05/0.3462, allocations: 12.62 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.681e-05/0.3462, allocations: 54.72 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.3464, allocations: 32.8 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.3467, allocations: 198.1 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3467, allocations: 16.81 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.3468, allocations: 24.31 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.3471, allocations: 195.2 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3471, allocations: 0 / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.3472, allocations: 8 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3472, allocations: 8 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.3475, allocations: 133.7 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3488, allocations: 0.7757 MB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.349, allocations: 94.48 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.349, allocations: 44.78 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3491, allocations: 0 / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3491, allocations: 38.56 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.3491, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001683/0.3508, allocations: 0.653 MB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.3508, allocations: 55.41 kB / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3511, allocations: 214.9 kB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3511, allocations: 25.7 kB / 0.5688 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3512, allocations: 172.2 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.3512, allocations: 55.53 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.3513, allocations: 49.59 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3515, allocations: 334.8 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3516, allocations: 59.97 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.3518, allocations: 105 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.3521, allocations: 169.1 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.3521, allocations: 0 / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005375/0.3526, allocations: 285.4 kB / 0.57 GB, free: 11.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3526, allocations: 8 kB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3526, allocations: 0 / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.3529, allocations: 69.67 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.353, allocations: 32.02 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.3556, allocations: 2.825 MB / 0.5729 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3558, allocations: 12.03 kB / 0.5729 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.3558, allocations: 4 kB / 0.5729 GB, free: 8.137 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.000144/0.3559, allocations: 139.5 kB / 0.573 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.356, allocations: 23.83 kB / 0.573 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.356, allocations: 21.81 kB / 0.5731 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.356, allocations: 7.938 kB / 0.5731 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.356, allocations: 4.062 kB / 0.5731 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.356, allocations: 4.641 kB / 0.5731 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.3564, allocations: 252.7 kB / 0.5733 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3564, allocations: 4 kB / 0.5733 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.462e-05/0.3565, allocations: 19.98 kB / 0.5733 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.3566, allocations: 65.67 kB / 0.5734 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3567, allocations: 3.984 kB / 0.5734 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.3591, allocations: 2.806 MB / 0.5762 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3591, allocations: 4 kB / 0.5762 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/0.3597, allocations: 396.8 kB / 0.5765 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.3598, allocations: 19.92 kB / 0.5766 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.3598, allocations: 0 / 0.5766 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.36, allocations: 24.05 kB / 0.5766 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.36, allocations: 15.91 kB / 0.5766 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.36, allocations: 8 kB / 0.5766 GB, free: 4.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3602, allocations: 148.6 kB / 0.5767 GB, free: 3.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3602, allocations: 0 / 0.5767 GB, free: 3.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.3605, allocations: 64 kB / 0.5768 GB, free: 3.824 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.0009446/0.3615, allocations: 0.9208 MB / 0.5777 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.3622, allocations: 403.7 kB / 0.5781 GB, free: 2.449 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3622, allocations: 0 / 0.5781 GB, free: 2.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.3626, allocations: 325.6 kB / 0.5784 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3629, allocations: 27.98 kB / 0.5784 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.3664, allocations: 2.494 MB / 0.5809 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.3668, allocations: 0.744 MB / 0.5816 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.832e-05/0.3669, allocations: 17.94 kB / 0.5816 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.367, allocations: 67.41 kB / 0.5817 GB, free: 14.62 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.367, allocations: 8 kB / 0.5817 GB, free: 14.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.4024, allocations: 5.27 MB / 0.5868 GB, free: 9.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.28, allocations: 10.3 kB / 0.5868 GB, free: 9.492 MB / 430.1 MB " [Timeout remaining time 648] (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.47955854400061]