Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.001584/0.001584, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002174/0.002174, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.399/1.399, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2256/0.2256, allocations: 46.92 MB / 361.6 MB, free: 4.254 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.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 83.86 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3125, allocations: 66.07 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008927/0.3214, allocations: 7.554 MB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004508/0.3259, allocations: 2.377 MB / 0.5712 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005068/0.3264, allocations: 27.94 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003779/0.3302, allocations: 1.757 MB / 0.5729 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.332, allocations: 0.7044 MB / 0.5736 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.3335, allocations: 0.7397 MB / 0.5743 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.3349, allocations: 1.253 MB / 0.5756 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.3362, allocations: 0.875 MB / 0.5764 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006797/0.3369, allocations: 0.5253 MB / 0.5769 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.3377, allocations: 0.6653 MB / 0.5776 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.3378, allocations: 108 kB / 0.5777 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.3384, allocations: 299.8 kB / 0.578 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.3387, allocations: 278.9 kB / 0.5782 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.3392, allocations: 0.6024 MB / 0.5788 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.3411, allocations: 1.615 MB / 0.5804 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3411, allocations: 0 / 0.5804 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3411, allocations: 0 / 0.5804 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.3411, allocations: 0 / 0.5804 GB, free: 0.8203 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004443/0.3456, allocations: 1.757 MB / 0.5821 GB, free: 15.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3456, allocations: 8.031 kB / 0.5821 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.841e-05/0.3457, allocations: 38.84 kB / 0.5822 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/0.3459, allocations: 194.7 kB / 0.5824 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/0.3551, allocations: 1.268 MB / 0.5836 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3562, allocations: 0.504 MB / 0.5841 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.575e-05/0.3563, allocations: 106.8 kB / 0.5842 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.3565, allocations: 136 kB / 0.5843 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.3587, allocations: 1.253 MB / 0.5855 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.3588, allocations: 0 / 0.5855 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.3589, allocations: 59.94 kB / 0.5856 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.3589, allocations: 36 kB / 0.5856 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002525/0.3615, allocations: 1.455 MB / 0.5871 GB, free: 9.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007961/0.3694, allocations: 4.201 MB / 0.5912 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.3713, allocations: 0.8193 MB / 0.592 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.3719, allocations: 336.2 kB / 0.5923 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.372, allocations: 36.95 kB / 0.5923 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.372, allocations: 43.56 kB / 0.5924 GB, free: 4.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.334e-06/0.372, allocations: 0 / 0.5924 GB, free: 4.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002347/0.3744, allocations: 1.06 MB / 0.5934 GB, free: 3.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3744, allocations: 60.41 kB / 0.5934 GB, free: 3.223 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.3756, allocations: 0.8286 MB / 0.5943 GB, free: 2.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.3757, allocations: 45.64 kB / 0.5943 GB, free: 2.328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.3761, allocations: 0.5117 MB / 0.5948 GB, free: 1.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.3764, allocations: 325.2 kB / 0.5951 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/0.3768, allocations: 206.8 kB / 0.5953 GB, free: 1.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.377, allocations: 398.7 kB / 0.5957 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006831/0.3777, allocations: 354.4 kB / 0.596 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008949/0.3786, allocations: 0.6231 MB / 0.5966 GB, free: 15.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.3801, allocations: 0.9914 MB / 0.5976 GB, free: 14.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.3801, allocations: 4 kB / 0.5976 GB, free: 14.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002296/0.3824, allocations: 1.19 MB / 0.5988 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3825, allocations: 12.03 kB / 0.5988 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.3825, allocations: 12 kB / 0.5988 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.3828, allocations: 69.61 kB / 0.5989 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3838, allocations: 263.6 kB / 0.5991 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.3861, allocations: 2.621 MB / 0.6017 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/0.387, allocations: 158.7 kB / 0.6018 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/0.387, allocations: 47.98 kB / 0.6019 GB, free: 10.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004182/0.3875, allocations: 261.5 kB / 0.6021 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.3876, allocations: 103.3 kB / 0.6022 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.3896, allocations: 1.107 MB / 0.6033 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3896, allocations: 8 kB / 0.6033 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3896, allocations: 4 kB / 0.6033 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.3896, allocations: 3.984 kB / 0.6033 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.3934, allocations: 2.396 MB / 0.6056 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.3934, allocations: 8 kB / 0.6057 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/0.3941, allocations: 187.8 kB / 0.6058 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.3943, allocations: 57.67 kB / 0.6059 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.3944, allocations: 27.98 kB / 0.6059 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.3966, allocations: 2.614 MB / 0.6085 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/0.3966, allocations: 12.09 kB / 0.6085 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.3989, allocations: 1.489 MB / 0.6099 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.3991, allocations: 123.1 kB / 0.6101 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.3993, allocations: 27.95 kB / 0.6101 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.3999, allocations: 55.97 kB / 0.6101 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.4001, allocations: 84.41 kB / 0.6102 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/0.4001, allocations: 35.98 kB / 0.6102 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007606/0.4009, allocations: 0.5811 MB / 0.6108 GB, free: 412 kB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4009, allocations: 0 / 0.6108 GB, free: 412 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009472/0.4018, allocations: 307.6 kB / 0.6111 GB, free: 104 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (93): * Single equations (assignments): 91 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002818/0.4047, allocations: 2.095 MB / 0.6132 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.4066, allocations: 1.05 MB / 0.6142 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4066, allocations: 4 kB / 0.6142 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009669/0.4076, allocations: 0.5896 MB / 0.6148 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.4084, allocations: 124 kB / 0.6149 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.4219, allocations: 8.494 MB / 0.6232 GB, free: 3.082 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008743/0.4228, allocations: 1.012 MB / 0.6242 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006316/0.4234, allocations: 151.8 kB / 0.6243 GB, free: 1.891 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/0.424, allocations: 387.3 kB / 0.6247 GB, free: 1.512 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.424, allocations: 0 / 0.6247 GB, free: 1.512 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06989/0.4939, allocations: 20.71 MB / 0.6449 GB, free: 12.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.18, allocations: 19.17 kB / 0.6449 GB, free: 12.95 MB / 494.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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: 16.582677619997412]