Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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.0008327/0.0008327, allocations: 79.53 kB / 20.02 MB, free: 4.508 MB / 18.57 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.0007929/0.0007929, allocations: 173.9 kB / 23.32 MB, free: 1.203 MB / 18.57 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 0.8801/0.8801, allocations: 158.6 MB / 185.1 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1387/0.1387, allocations: 32.37 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 407 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.149e-05, allocations: 2.281 kB / 407 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002734/0.002755, allocations: 2.377 MB / 409.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.003762, allocations: 0.62 MB / 410 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.003886, allocations: 4 kB / 410 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.004023, allocations: 43.58 kB / 410.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.004172, allocations: 71.28 kB / 410.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.004425, allocations: 67.91 kB / 410.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.004684, allocations: 306.5 kB / 410.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.004835, allocations: 60.56 kB / 410.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.005066, allocations: 179.5 kB / 410.7 MB, free: 9.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.005174, allocations: 83.77 kB / 410.8 MB, free: 9.633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.005206, allocations: 24 kB / 410.8 MB, free: 9.609 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.005233, allocations: 24 kB / 410.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.00527, allocations: 51.77 kB / 410.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.00534, allocations: 83.81 kB / 411 MB, free: 9.453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.005588, allocations: 291.1 kB / 411.3 MB, free: 9.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.00559, allocations: 4 kB / 411.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005592, allocations: 0 / 411.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.005597, allocations: 0 / 411.3 MB, free: 9.164 MB / 346.7 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.0005924/0.006189, allocations: 473.6 kB / 411.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.006231, allocations: 11.97 kB / 411.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.006276, allocations: 54.73 kB / 411.8 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.00632, allocations: 24.8 kB / 411.8 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.00661, allocations: 197.3 kB / 412 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.006629, allocations: 16.88 kB / 412.1 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.00666, allocations: 24.31 kB / 412.1 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.00695, allocations: 265.8 kB / 412.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.006958, allocations: 192 / 412.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.006978, allocations: 16.12 kB / 412.3 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.006984, allocations: 4 kB / 412.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.007161, allocations: 137.9 kB / 412.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.008, allocations: 0.7262 MB / 413.2 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.008136, allocations: 90.55 kB / 413.3 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.008192, allocations: 40.84 kB / 413.3 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.008206, allocations: 4 kB / 413.3 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.008229, allocations: 34.5 kB / 413.4 MB, free: 6.895 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.00823, allocations: 0 / 413.4 MB, free: 6.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001129/0.009359, allocations: 0.653 MB / 414 MB, free: 6.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.009387, allocations: 55.41 kB / 414.1 MB, free: 6.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.009674, allocations: 215.8 kB / 414.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.009689, allocations: 29.7 kB / 414.3 MB, free: 5.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.009769, allocations: 160.2 kB / 414.5 MB, free: 5.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.009806, allocations: 63.53 kB / 414.5 MB, free: 5.656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.00986, allocations: 49.59 kB / 414.6 MB, free: 5.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.009945, allocations: 334.8 kB / 414.9 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.01003, allocations: 59.91 kB / 415 MB, free: 5.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.01014, allocations: 107.3 kB / 415.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.01032, allocations: 177 kB / 415.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01033, allocations: 3.938 kB / 415.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000319/0.01065, allocations: 278.4 kB / 415.5 MB, free: 4.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01066, allocations: 7.984 kB / 415.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.01067, allocations: 12.14 kB / 415.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.01084, allocations: 65.69 kB / 415.6 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.01095, allocations: 39.91 kB / 415.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.01247, allocations: 2.783 MB / 418.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.01254, allocations: 19.95 kB / 418.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.01256, allocations: 8 kB / 418.5 MB, free: 1.434 MB / 346.7 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 9.383e-05/0.01265, allocations: 133.8 kB / 418.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.01268, allocations: 27.73 kB / 418.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.0127, allocations: 25.8 kB / 418.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.0127, allocations: 4 kB / 418.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.01271, allocations: 4.062 kB / 418.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01271, allocations: 0 / 418.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.0129, allocations: 236.6 kB / 418.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.0129, allocations: 0 / 418.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.013e-05/0.01294, allocations: 15.98 kB / 418.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.01306, allocations: 69.66 kB / 419 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.01307, allocations: 0 / 419 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.01454, allocations: 2.79 MB / 421.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01454, allocations: 3.984 kB / 421.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.0149, allocations: 389 kB / 422.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.01492, allocations: 15.88 kB / 422.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.01493, allocations: 8 kB / 422.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.01502, allocations: 11.98 kB / 422.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.01508, allocations: 23.91 kB / 422.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.01509, allocations: 4 kB / 422.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.83e-05/0.01518, allocations: 149.5 kB / 422.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01518, allocations: 0 / 422.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.01543, allocations: 64 kB / 422.4 MB, free: 13.18 MB / 362.7 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.000545/0.01597, allocations: 0.9276 MB / 423.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.0164, allocations: 397.2 kB / 423.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0164, allocations: 0 / 423.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.01663, allocations: 321.2 kB / 424 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.01687, allocations: 27.98 kB / 424.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.01891, allocations: 2.447 MB / 426.5 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.01901, allocations: 142 kB / 426.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.704e-05/0.01908, allocations: 17.95 kB / 426.7 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.01916, allocations: 68.47 kB / 426.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01916, allocations: 0 / 426.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.04586, allocations: 5.902 MB / 432.6 MB, free: 2.727 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.327/7.373, allocations: 3.984 kB / 432.6 MB, free: 2.723 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i2 in file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.465919549576938]