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.001354/0.001354, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001551/0.001551, allocations: 214.7 kB / 23.74 MB, free: 4.656 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 / 257.5 MB, free: 8.031 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.2228/0.2228, allocations: 46.93 MB / 360.9 MB, free: 4.297 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.89 kB / 0.4961 GB, free: 7.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3341, allocations: 66.04 MB / 0.5606 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004022/0.3382, allocations: 2.603 MB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3393, allocations: 0.6778 MB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3394, allocations: 4 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.3396, allocations: 39.58 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.3397, allocations: 75.33 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.34, allocations: 79.83 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.3404, allocations: 294.8 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.3406, allocations: 70.39 kB / 0.5644 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.3408, allocations: 119.6 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.341, allocations: 119.4 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.341, allocations: 24 kB / 0.5646 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.3411, allocations: 31.98 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.3411, allocations: 51.83 kB / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3413, allocations: 123.4 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.3417, allocations: 290.8 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3417, allocations: 4 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3417, allocations: 0 / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3417, allocations: 0 / 0.5651 GB, free: 15.89 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.0008204/0.3425, allocations: 473.5 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3426, allocations: 12.02 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.3427, allocations: 58.73 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.3428, allocations: 36.78 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.3431, allocations: 198 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3432, allocations: 12.81 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.3432, allocations: 20.38 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.3436, allocations: 199.3 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3436, allocations: 0 / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.3436, allocations: 12 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3436, allocations: 7.938 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.3439, allocations: 141.7 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.3452, allocations: 0.7719 MB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.3454, allocations: 90.47 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.3455, allocations: 48.84 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3455, allocations: 4 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3455, allocations: 34.69 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3455, allocations: 0 / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001735/0.3472, allocations: 0.6464 MB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3473, allocations: 51.41 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3475, allocations: 214.9 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3475, allocations: 29.7 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3477, allocations: 180.2 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.3477, allocations: 55.53 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.3478, allocations: 45.66 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3479, allocations: 330.8 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3481, allocations: 55.97 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.3483, allocations: 113 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.3486, allocations: 171.3 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3486, allocations: 0 / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005273/0.3491, allocations: 281 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3491, allocations: 4 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3491, allocations: 4 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.3493, allocations: 73.77 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3495, allocations: 31.98 kB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.352, allocations: 2.818 MB / 0.5721 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.3521, allocations: 8.656 kB / 0.5721 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.3521, allocations: 12 kB / 0.5721 GB, free: 8.18 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.0001469/0.3523, allocations: 141.8 kB / 0.5722 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.3523, allocations: 19.91 kB / 0.5723 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.3524, allocations: 21.81 kB / 0.5723 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3524, allocations: 0 / 0.5723 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.3524, allocations: 7.938 kB / 0.5723 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3524, allocations: 7.922 kB / 0.5723 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.3527, allocations: 256.5 kB / 0.5725 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3527, allocations: 4 kB / 0.5725 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.3528, allocations: 15.98 kB / 0.5726 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.353, allocations: 69.67 kB / 0.5726 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.353, allocations: 7.984 kB / 0.5726 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/0.3554, allocations: 2.798 MB / 0.5754 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3554, allocations: 3.984 kB / 0.5754 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006482/0.3561, allocations: 403.8 kB / 0.5758 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.3561, allocations: 15.92 kB / 0.5758 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3561, allocations: 8 kB / 0.5758 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.3563, allocations: 11.98 kB / 0.5758 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.3564, allocations: 19.97 kB / 0.5758 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3564, allocations: 4 kB / 0.5758 GB, free: 4.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.3565, allocations: 152.7 kB / 0.576 GB, free: 3.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3565, allocations: 0 / 0.576 GB, free: 3.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.3569, allocations: 64 kB / 0.576 GB, free: 3.867 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.0009315/0.3578, allocations: 0.9287 MB / 0.5769 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006613/0.3585, allocations: 393.2 kB / 0.5773 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3585, allocations: 4.375 kB / 0.5773 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004515/0.3589, allocations: 317.2 kB / 0.5776 GB, free: 2.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3592, allocations: 31.98 kB / 0.5776 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.3626, allocations: 2.495 MB / 0.5801 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.3629, allocations: 0.744 MB / 0.5808 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.377e-05/0.363, allocations: 25.94 kB / 0.5808 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3631, allocations: 67.41 kB / 0.5809 GB, free: 14.65 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3631, allocations: 3.938 kB / 0.5809 GB, free: 14.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/0.4013, allocations: 5.242 MB / 0.586 GB, free: 9.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 8.062 kB / 0.586 GB, free: 9.551 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: 14.684111237991601]