Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 111.1 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 246.6 MB, free: 13.63 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 193.6 kB / 301.9 MB, free: 8.938 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5373/0.5373, allocations: 99.67 MB / 456.8 MB, free: 4.676 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.88 kB / 0.611 GB, free: 7.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1442, allocations: 76.94 MB / 0.6861 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.00748/0.1516, allocations: 6.372 MB / 0.6923 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004071/0.1557, allocations: 1.849 MB / 0.6941 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005833/0.1563, allocations: 16 kB / 0.6942 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.1569, allocations: 238 kB / 0.6944 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.1583, allocations: 0.6355 MB / 0.695 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1599, allocations: 0.791 MB / 0.6958 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2837/0.4436, allocations: 1.443 MB / 0.6972 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004794/0.4441, allocations: 196.5 kB / 0.6974 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009347/0.445, allocations: 0.5837 MB / 0.6979 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008695/0.4459, allocations: 0.761 MB / 0.6987 GB, free: 9.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.4461, allocations: 116.5 kB / 0.6988 GB, free: 9.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.4466, allocations: 227.7 kB / 0.699 GB, free: 9.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.4468, allocations: 293.8 kB / 0.6993 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004806/0.4473, allocations: 0.6268 MB / 0.6999 GB, free: 9.676 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.4487, allocations: 1.538 MB / 0.7014 GB, free: 9.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4487, allocations: 0.5156 kB / 0.7014 GB, free: 9.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4487, allocations: 3.375 kB / 0.7014 GB, free: 9.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.15e-05/0.4487, allocations: 0 / 0.7014 GB, free: 9.434 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.00792/0.4566, allocations: 2.618 MB / 0.704 GB, free: 8.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4566, allocations: 10.38 kB / 0.704 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.4568, allocations: 125.4 kB / 0.7041 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.4608, allocations: 0.6831 MB / 0.7048 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.462, allocations: 0.8064 MB / 0.7056 GB, free: 8.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.4622, allocations: 344.8 kB / 0.7059 GB, free: 7.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4624, allocations: 73.19 kB / 0.706 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.4646, allocations: 1.16 MB / 0.7071 GB, free: 7.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.4646, allocations: 0 / 0.7071 GB, free: 7.281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.4647, allocations: 27.58 kB / 0.7071 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4647, allocations: 22.09 kB / 0.7071 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.4669, allocations: 1.086 MB / 0.7082 GB, free: 6.906 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006146/0.473, allocations: 3.883 MB / 0.712 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007534/0.4806, allocations: 2.404 MB / 0.7143 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.4822, allocations: 0.6798 MB / 0.715 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.4823, allocations: 20.77 kB / 0.715 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.4823, allocations: 50.86 kB / 0.7151 GB, free: 3.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=90): time 3.076e-06/0.4824, allocations: 1.125 kB / 0.7151 GB, free: 3.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=90): time 0.03369/0.516, allocations: 8.481 MB / 0.7234 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.5161, allocations: 99.02 kB / 0.7234 GB, free: 0.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.5173, allocations: 0.9128 MB / 0.7243 GB, free: 24 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002353/0.5175, allocations: 41.14 kB / 0.7244 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.5179, allocations: 480.3 kB / 0.7248 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.5183, allocations: 331.8 kB / 0.7251 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003612/0.5187, allocations: 159.6 kB / 0.7253 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.5189, allocations: 346.8 kB / 0.7256 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.5204, allocations: 0.6614 MB / 0.7263 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.5221, allocations: 0.8159 MB / 0.7271 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.5253, allocations: 1.5 MB / 0.7285 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.5253, allocations: 1.125 kB / 0.7285 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01532/0.5406, allocations: 4.47 MB / 0.7329 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.5406, allocations: 8 kB / 0.7329 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.5406, allocations: 3.594 kB / 0.7329 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007719/0.5483, allocations: 2.298 MB / 0.7352 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.5491, allocations: 134.5 kB / 0.7353 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02851/0.5776, allocations: 11.12 MB / 0.7461 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.5793, allocations: 175.3 kB / 0.7463 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.735e-05/0.5794, allocations: 35.94 kB / 0.7464 GB, free: 1.352 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005094/0.5799, allocations: 237.9 kB / 0.7466 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.5802, allocations: 115.2 kB / 0.7467 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/0.5952, allocations: 4.41 MB / 0.751 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.5952, allocations: 12 kB / 0.751 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5952, allocations: 0 / 0.751 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/0.5953, allocations: 7.922 kB / 0.751 GB, free: 12.6 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/0.6127, allocations: 6.024 MB / 0.7569 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.6127, allocations: 4 kB / 0.7569 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.6132, allocations: 83.42 kB / 0.757 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007457/0.6206, allocations: 2.161 MB / 0.7591 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.6208, allocations: 19.66 kB / 0.7591 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02534/0.6461, allocations: 9.878 MB / 0.7688 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6461, allocations: 0 / 0.7688 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/0.6634, allocations: 5.418 MB / 0.774 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.6639, allocations: 208.2 kB / 0.7742 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.6641, allocations: 20 kB / 0.7743 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6652, allocations: 107.9 kB / 0.7744 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007311/0.666, allocations: 224.2 kB / 0.7746 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/0.6661, allocations: 31.98 kB / 0.7746 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000908/0.667, allocations: 0.6269 MB / 0.7752 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.667, allocations: 0 / 0.7752 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001471/0.6684, allocations: 447.6 kB / 0.7756 GB, free: 3.145 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0173/0.6857, allocations: 5.992 MB / 0.7815 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00785/0.6936, allocations: 2.45 MB / 0.7839 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6936, allocations: 0 / 0.7839 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005665/0.6992, allocations: 1.677 MB / 0.7855 GB, free: 9.043 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/0.7002, allocations: 104.2 kB / 0.7856 GB, free: 8.941 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04209/0.7423, allocations: 15.88 MB / 0.8011 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/0.7431, allocations: 1.061 MB / 0.8022 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004187/0.7435, allocations: 86.7 kB / 0.8023 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000561/0.7441, allocations: 415.3 kB / 0.8027 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of SimCode: time 1.413e-06/0.7441, allocations: 0 / 0.8027 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07925/0.8233, allocations: 38 MB / 0.8398 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/17.15, allocations: 23.47 kB / 0.8398 GB, free: 1.457 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.44165543303825] Failed to read output from testmodel.py, exit status != 0: 17.262470843968913 17.282171515 16.830513639 Calling exit ...