Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.002291/0.002291, allocations: 106.5 kB / 21.22 MB, free: 0.5273 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.001772/0.001772, allocations: 213.3 kB / 24.54 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 64.77 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2535, allocations: 53.37 MB / 432 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004872/0.2583, allocations: 2.911 MB / 434.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.26, allocations: 0.7635 MB / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.2601, allocations: 4 kB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.2603, allocations: 43.52 kB / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.2605, allocations: 107.2 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2608, allocations: 111.8 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.2612, allocations: 390.5 kB / 436.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.2615, allocations: 91.66 kB / 436.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.2618, allocations: 167.4 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.262, allocations: 163.2 kB / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.262, allocations: 40 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.499e-05/0.2621, allocations: 36 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.957e-05/0.2622, allocations: 75.75 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.2623, allocations: 163.2 kB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004942/0.2628, allocations: 435.1 kB / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2628, allocations: 0 / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2628, allocations: 4 kB / 437.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2628, allocations: 0 / 437.4 MB, free: 1.414 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001268/0.2641, allocations: 0.5936 MB / 438 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2642, allocations: 12.03 kB / 438 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.2642, allocations: 54.73 kB / 438.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.2643, allocations: 36.75 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.2647, allocations: 238.8 kB / 438.3 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2647, allocations: 24.88 kB / 438.4 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.2648, allocations: 24.38 kB / 438.4 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007485/0.2655, allocations: 322.8 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2656, allocations: 0 / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.2656, allocations: 4 kB / 438.7 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2656, allocations: 11.94 kB / 438.7 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008118/0.2664, allocations: 277.8 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.2683, allocations: 1.069 MB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008575/0.2692, allocations: 238.6 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.2695, allocations: 92.78 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.2695, allocations: 4 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004868/0.27, allocations: 168.9 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.903e-06/0.27, allocations: 0 / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001058/0.2711, allocations: 321.2 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.2711, allocations: 85.09 kB / 441 MB, free: 13.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.2714, allocations: 261.9 kB / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.2715, allocations: 25.7 kB / 441.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.2717, allocations: 208 kB / 441.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.2717, allocations: 43.62 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.2718, allocations: 45.7 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.272, allocations: 334.8 kB / 441.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.2723, allocations: 104.1 kB / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.2727, allocations: 195.5 kB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007275/0.2734, allocations: 303.7 kB / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2734, allocations: 0 / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008708/0.2743, allocations: 365.5 kB / 442.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.2744, allocations: 37.7 kB / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2744, allocations: 0 / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.2744, allocations: 4 kB / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.2747, allocations: 64.02 kB / 442.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2747, allocations: 11.98 kB / 442.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.275, allocations: 59.62 kB / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.275, allocations: 12 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.2752, allocations: 141.8 kB / 443.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.2752, allocations: 23.86 kB / 443.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.709e-05/0.2753, allocations: 29.7 kB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2753, allocations: 7.938 kB / 443.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2753, allocations: 0 / 443.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2753, allocations: 3.938 kB / 443.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.2756, allocations: 276.5 kB / 443.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2756, allocations: 0 / 443.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.2759, allocations: 51.94 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2759, allocations: 0 / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2759, allocations: 0 / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2759, allocations: 8 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2759, allocations: 0 / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2769, allocations: 376.6 kB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.277, allocations: 27.81 kB / 443.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.277, allocations: 8 kB / 443.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2772, allocations: 23.97 kB / 443.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.2773, allocations: 23.97 kB / 444 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2773, allocations: 4 kB / 444 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.2775, allocations: 189.2 kB / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2775, allocations: 0 / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000309/0.2778, allocations: 71.83 kB / 444.2 MB, free: 10.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.2792, allocations: 0.9011 MB / 445.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007759/0.2799, allocations: 291.6 kB / 445.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.28, allocations: 0 / 445.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.2803, allocations: 95.86 kB / 445.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2806, allocations: 44.67 kB / 445.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.2853, allocations: 2.896 MB / 448.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.2857, allocations: 0.748 MB / 449.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.2858, allocations: 30.28 kB / 449.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.2859, allocations: 79.41 kB / 449.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2859, allocations: 0 / 449.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.3176, allocations: 5.685 MB / 455 MB, free: 15.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.449, allocations: 3.938 kB / 455 MB, free: 15.34 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.80979056796059] Failed to read output from testmodel.py, exit status != 0: ['time', 'der_.c.v', 'der_.opAmp.out.v', 'der_.opAmp.out.i'] 8.521547081880271 8.54570487 8.277471679 Calling exit ...