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.001174/0.001174, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001366/0.001366, allocations: 219.8 kB / 24.53 MB, free: 4.004 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.369/1.369, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2121/0.2121, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.00222/0.00222, allocations: 84.09 kB / 0.4969 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.322, allocations: 66.09 MB / 0.5615 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003901/0.3259, allocations: 2.595 MB / 0.564 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3271, allocations: 0.6855 MB / 0.5647 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3273, allocations: 8 kB / 0.5647 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.3274, allocations: 39.58 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.3275, allocations: 79.33 kB / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.3278, allocations: 71.84 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.3281, allocations: 290.8 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3283, allocations: 74.38 kB / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.3285, allocations: 123.5 kB / 0.5653 GB, free: 256 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.3287, allocations: 119.4 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.3287, allocations: 24 kB / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.3288, allocations: 32 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.3289, allocations: 47.83 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.329, allocations: 123.5 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.3293, allocations: 290.8 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3293, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3293, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3293, allocations: 0 / 0.5659 GB, free: 15.62 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.0007636/0.3301, allocations: 481.5 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3301, allocations: 12.03 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.958e-05/0.3302, allocations: 4.625 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.3302, allocations: 62.66 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.3304, allocations: 32.8 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.3307, allocations: 202.1 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3307, allocations: 12.81 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.3308, allocations: 20.38 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.3311, allocations: 199.2 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3311, allocations: 0 / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.3311, allocations: 8 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3311, allocations: 4 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.3314, allocations: 145.6 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.3327, allocations: 0.7718 MB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3329, allocations: 90.53 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.333, allocations: 48.97 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.333, allocations: 0 / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.333, allocations: 34.56 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.333, allocations: 4 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001706/0.3347, allocations: 0.658 MB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3348, allocations: 51.41 kB / 0.5687 GB, free: 12.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.335, allocations: 210.9 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.335, allocations: 33.7 kB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3352, allocations: 168.2 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.3352, allocations: 55.53 kB / 0.5691 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.3353, allocations: 49.66 kB / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3355, allocations: 330.8 kB / 0.5695 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.3356, allocations: 59.97 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.3358, allocations: 105 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.3361, allocations: 175.8 kB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3361, allocations: 0 / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005627/0.3366, allocations: 282.9 kB / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3367, allocations: 4 kB / 0.5701 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3367, allocations: 4 kB / 0.5701 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/0.3369, allocations: 69.83 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.3371, allocations: 31.98 kB / 0.5702 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.3396, allocations: 2.825 MB / 0.573 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3398, allocations: 4 kB / 0.573 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.3398, allocations: 12 kB / 0.573 GB, free: 7.891 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.0001448/0.3399, allocations: 137.7 kB / 0.5731 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.34, allocations: 19.91 kB / 0.5731 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.34, allocations: 21.81 kB / 0.5731 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.34, allocations: 4.062 kB / 0.5732 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.34, allocations: 7.938 kB / 0.5732 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.34, allocations: 3.984 kB / 0.5732 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.3404, allocations: 252.5 kB / 0.5734 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3404, allocations: 4 kB / 0.5734 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.3405, allocations: 15.98 kB / 0.5734 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/0.3407, allocations: 65.61 kB / 0.5735 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3407, allocations: 12.64 kB / 0.5735 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/0.3431, allocations: 2.803 MB / 0.5762 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3431, allocations: 0 / 0.5762 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.3437, allocations: 399 kB / 0.5766 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.3438, allocations: 15.92 kB / 0.5766 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.3438, allocations: 12.12 kB / 0.5766 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.344, allocations: 11.98 kB / 0.5767 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.344, allocations: 23.91 kB / 0.5767 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.344, allocations: 4 kB / 0.5767 GB, free: 3.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3442, allocations: 148.6 kB / 0.5768 GB, free: 3.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3442, allocations: 0 / 0.5768 GB, free: 3.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.3446, allocations: 64 kB / 0.5769 GB, free: 3.586 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.0009721/0.3455, allocations: 0.9325 MB / 0.5778 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006771/0.3462, allocations: 389.2 kB / 0.5782 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3462, allocations: 4 kB / 0.5782 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.3467, allocations: 328 kB / 0.5785 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.347, allocations: 32.16 kB / 0.5785 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.3503, allocations: 2.491 MB / 0.5809 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3506, allocations: 0.748 MB / 0.5817 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.658e-05/0.3507, allocations: 17.94 kB / 0.5817 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.3508, allocations: 71.41 kB / 0.5818 GB, free: 14.36 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3508, allocations: 0 / 0.5818 GB, free: 14.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04155/0.3924, allocations: 5.267 MB / 0.5869 GB, free: 9.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.49, allocations: 4.062 kB / 0.5869 GB, free: 9.223 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.356707103026565]